summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-11-11 01:06:41 +0000
committerTeresa Johnson <tejohnson@google.com>2017-11-11 01:06:41 +0000
commit93838a5bd1a150638637129db548a82428dac0c6 (patch)
tree437dc3bd5b0408a56dd83261b1d1909ed196d4a8 /clang/lib/CodeGen
parent8f90f8b812dacac20a4bfbaf0cdd9560c066e3e8 (diff)
downloadbcm5719-llvm-93838a5bd1a150638637129db548a82428dac0c6.tar.gz
bcm5719-llvm-93838a5bd1a150638637129db548a82428dac0c6.zip
Revert "[ThinLTO] Handle -fdebug-pass-manager for backend invocations via clang"
This reverts commit r317951 and r317952. The new test is aborting on some bots and I'll need to investigate later. llvm-svn: 317959
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 0df446327a8..893967a9d66 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -1073,7 +1073,6 @@ static void runThinLTOBackend(ModuleSummaryIndex *CombinedIndex, Module *M,
initTargetOptions(Conf.Options, CGOpts, TOpts, LOpts, HeaderOpts);
Conf.SampleProfile = std::move(SampleProfile);
Conf.UseNewPM = CGOpts.ExperimentalNewPassManager;
- Conf.DebugPassManager = CGOpts.DebugPassManager;
switch (Action) {
case Backend_EmitNothing:
Conf.PreCodeGenModuleHook = [](size_t Task, const Module &Mod) {
OpenPOWER on IntegriCloud