mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
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
This commit is contained in:
parent
0d27ca145f
commit
6ba2ed53bb
@ -160,10 +160,8 @@ bool LTOCodeGenerator::writeMergedModules(const char *path,
|
|||||||
if (!determineTarget(errMsg))
|
if (!determineTarget(errMsg))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Run the verifier on the merged modules.
|
// mark which symbols can not be internalized
|
||||||
PassManager passes;
|
applyScopeRestrictions();
|
||||||
passes.add(createVerifierPass());
|
|
||||||
passes.run(*_linker.getModule());
|
|
||||||
|
|
||||||
// create output file
|
// create output file
|
||||||
std::string ErrInfo;
|
std::string ErrInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user