mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-21 03:37:47 +00:00
Fix PR1719, by not marking llvm.global.annotations internal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7dea4cb36
commit
088b5913ef
@ -131,6 +131,7 @@ bool InternalizePass::runOnModule(Module &M) {
|
||||
ExternalNames.insert("llvm.global_ctors");
|
||||
ExternalNames.insert("llvm.global_dtors");
|
||||
ExternalNames.insert("llvm.noinline");
|
||||
ExternalNames.insert("llvm.global.annotations");
|
||||
|
||||
// Mark all global variables with initializers as internal as well.
|
||||
for (Module::global_iterator I = M.global_begin(), E = M.global_end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user