Revert r185882. This is causing problems with the gold linker and might be better handled by the linker.

llvm-svn: 188029
This commit is contained in:
Bill Wendling 2013-08-08 23:51:04 +00:00
parent 4573198b30
commit 2bbbfef243
1 changed files with 2 additions and 4 deletions

View File

@ -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;