[llvm] r188029 - Revert r185882. This is causing problems with the gold linker and might be better handled by the linker.
Bill Wendling
isanbard at gmail.com
Thu Aug 8 16:51:04 PDT 2013
Author: void
Date: Thu Aug 8 18:51:04 2013
New Revision: 188029
URL: http://llvm.org/viewvc/llvm-project?rev=188029&view=rev
Log:
Revert r185882. This is causing problems with the gold linker and might be better handled by the linker.
Modified:
llvm/trunk/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/trunk/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.cpp?rev=188029&r1=188028&r2=188029&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Thu Aug 8 18:51:04 2013
@@ -160,10 +160,8 @@ bool LTOCodeGenerator::writeMergedModule
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;
More information about the llvm-commits
mailing list