summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-21 22:35:01 +0000
committerEric Christopher <echristo@gmail.com>2013-02-21 22:35:01 +0000
commit248357f62418831c7be9d43d96860b52aae1ef56 (patch)
tree015c0c06bee71d6d39bf0297fba727e3c335372b /clang/lib/Driver/Driver.cpp
parent87396b9b08551ff86a788ff41da17b71e4dd4820 (diff)
downloadbcm5719-llvm-248357f62418831c7be9d43d96860b52aae1ef56.tar.gz
bcm5719-llvm-248357f62418831c7be9d43d96860b52aae1ef56.zip
Remove the SplitDebug action and replace with a set of commands
in the compilation setup. Note that this doesn't currently work for -no-integrated-as. llvm-svn: 175813
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 606555e3dbe..048c1540d3e 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -1107,12 +1107,6 @@ void Driver::BuildActions(const ToolChain &TC, const DerivedArgList &Args,
Current.reset(ConstructPhaseAction(Args, Phase, Current.take()));
if (Current->getType() == types::TY_Nothing)
break;
- else if (Current->getType() == types::TY_Object &&
- Args.hasArg(options::OPT_gsplit_dwarf)) {
- ActionList Input;
- Input.push_back(Current.take());
- Current.reset(new SplitDebugJobAction(Input, types::TY_Object));
- }
}
// If we ended with something, add to the output list.
@@ -1120,16 +1114,6 @@ void Driver::BuildActions(const ToolChain &TC, const DerivedArgList &Args,
Actions.push_back(Current.take());
}
- if (!SplitInputs.empty()) {
- for (ActionList::iterator i = SplitInputs.begin(), e = SplitInputs.end();
- i != e; ++i) {
- Action *Act = *i;
- ActionList Inputs;
- Inputs.push_back(Act);
- Actions.push_back(new SplitDebugJobAction(Inputs, types::TY_Object));
- }
- }
-
// Add a link action if necessary.
if (!LinkerInputs.empty())
Actions.push_back(new LinkJobAction(LinkerInputs, types::TY_Image));
@@ -1410,8 +1394,6 @@ void Driver::BuildJobsForAction(Compilation &C,
// Determine the place to write output to, if any.
if (JA->getType() == types::TY_Nothing)
Result = InputInfo(A->getType(), BaseInput);
- else if (isa<SplitDebugJobAction>(A))
- Result = InputInfos[0];
else
Result = InputInfo(GetNamedOutputPath(C, *JA, BaseInput, AtTopLevel),
A->getType(), BaseInput);
OpenPOWER on IntegriCloud