diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-08-08 23:51:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-08-08 23:51:04 +0000 |
commit | 2bbbfef243d4055b18dc997ae58bfa1476cc144b (patch) | |
tree | f1b1fa454bc292b097c99dcb05616372899e7d53 | |
parent | 4573198b3081b43c7c33dc1f4c767d7b58013ff6 (diff) | |
download | bcm5719-llvm-2bbbfef243d4055b18dc997ae58bfa1476cc144b.tar.gz bcm5719-llvm-2bbbfef243d4055b18dc997ae58bfa1476cc144b.zip |
Revert r185882. This is causing problems with the gold linker and might be better handled by the linker.
llvm-svn: 188029
-rw-r--r-- | llvm/tools/lto/LTOCodeGenerator.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.cpp b/llvm/tools/lto/LTOCodeGenerator.cpp index 758227d61e0..3fe7af25afd 100644 --- a/llvm/tools/lto/LTOCodeGenerator.cpp +++ b/llvm/tools/lto/LTOCodeGenerator.cpp @@ -160,10 +160,8 @@ bool LTOCodeGenerator::writeMergedModules(const char *path, if (!determineTarget(errMsg)) return false; - // Run the verifier on the merged modules. - PassManager passes; - passes.add(createVerifierPass()); - passes.run(*_linker.getModule()); + // mark which symbols can not be internalized + applyScopeRestrictions(); // create output file std::string ErrInfo; |