llvm.org GIT mirror llvm / 6ba2ed5
Revert r185882. This is causing problems with the gold linker and might be better handled by the linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188029 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
159159 if (!determineTarget(errMsg))
160160 return false;
161161
162 // Run the verifier on the merged modules.
163 PassManager passes;
164 passes.add(createVerifierPass());
165 passes.run(*_linker.getModule());
162 // mark which symbols can not be internalized
163 applyScopeRestrictions();
166164
167165 // create output file
168166 std::string ErrInfo;