No need to emit a Swift module in -gline-tables-only mode.

Thanks Jordan for pointing this out!

Swift SVN r23616
This commit is contained in:
Adrian Prantl
2014-12-02 18:07:37 +00:00
parent 41a30f5988
commit 30976b2eb3
4 changed files with 13 additions and 7 deletions

View File

@@ -496,7 +496,7 @@ Job *darwin::Linker::constructJob(const JobAction &JA,
addPrimaryInputsOfType(Arguments, *Inputs, types::TY_Object);
addInputsOfType(Arguments, InputActions, types::TY_Object);
if (OI.DebugInfoKind > IRGenDebugInfoKind::None) {
if (OI.DebugInfoKind == IRGenDebugInfoKind::Normal) {
Arguments.push_back("-add_ast_path");
size_t argCount = Arguments.size();