summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-05-28 19:17:45 +0000
committerWarren Hunt <whunt@google.com>2014-05-28 19:17:45 +0000
commit583db1979cfc9db6d3f12f819d19e3248cda87b4 (patch)
tree76bb225ea8880fe75e75098fa82a516469367487 /clang/lib
parent328f88add9bdbcb8d5f08385a9d378dcef87933b (diff)
downloadbcm5719-llvm-583db1979cfc9db6d3f12f819d19e3248cda87b4.tar.gz
bcm5719-llvm-583db1979cfc9db6d3f12f819d19e3248cda87b4.zip
Reverting 209503 - Breaks asan blacklists
I opened a discussion on cfe-commits. Ideally we've got a few things that need to happen. CompilerRT should probably have blacklists tests. Asan should probably not depend on that specific field. llvm-svn: 209766
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index 2fe984226e1..3db1660b805 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -565,12 +565,9 @@ ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI,
LinkModuleToUse = ModuleOrErr.get();
}
- StringRef MainFileName = getCompilerInstance().getCodeGenOpts().MainFileName;
- if (MainFileName.empty())
- MainFileName = InFile;
BEConsumer = new BackendConsumer(BA, CI.getDiagnostics(), CI.getCodeGenOpts(),
CI.getTargetOpts(), CI.getLangOpts(),
- CI.getFrontendOpts().ShowTimers, MainFileName,
+ CI.getFrontendOpts().ShowTimers, InFile,
LinkModuleToUse, OS.release(), *VMContext);
return BEConsumer;
}
OpenPOWER on IntegriCloud