summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2019-06-15 14:07:43 +0000
committerAaron Puchert <aaron.puchert@sap.com>2019-06-15 14:07:43 +0000
commit922759a63d7d8edbc47578b4718a38765093d24e (patch)
tree9122cfc2fe8f4450b9e4f27341203b37c006377d /clang/lib/Driver
parent83c7b61052bd46fac08a69a8f61ac56eba6d7ffc (diff)
downloadbcm5719-llvm-922759a63d7d8edbc47578b4718a38765093d24e.tar.gz
bcm5719-llvm-922759a63d7d8edbc47578b4718a38765093d24e.zip
[Clang] Rename -split-dwarf-file to -split-dwarf-output
Summary: This is the first in a series of changes trying to align clang -cc1 flags for Split DWARF with those of llc. The unfortunate side effect of having -split-dwarf-output for single file Split DWARF will disappear again in a subsequent change. The change is the result of a discussion in D59673. Reviewers: dblaikie, echristo Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D63130 llvm-svn: 363494
Diffstat (limited to 'clang/lib/Driver')
-rw-r--r--clang/lib/Driver/ToolChains/Clang.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index 29bdaf067f5..17eff885819 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -4110,7 +4110,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
isa<BackendJobAction>(JA));
const char *SplitDWARFOut;
if (SplitDWARF) {
- CmdArgs.push_back("-split-dwarf-file");
+ CmdArgs.push_back("-split-dwarf-output");
SplitDWARFOut = SplitDebugName(Args, Input, Output);
CmdArgs.push_back(SplitDWARFOut);
}
@@ -6180,7 +6180,7 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
Arg *A;
if (getDebugFissionKind(D, Args, A) == DwarfFissionKind::Split &&
T.isOSBinFormatELF()) {
- CmdArgs.push_back("-split-dwarf-file");
+ CmdArgs.push_back("-split-dwarf-output");
CmdArgs.push_back(SplitDebugName(Args, Input, Output));
}
OpenPOWER on IntegriCloud