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:
Tanya Lattner 2007-10-03 17:05:40 +00:00
parent b7dea4cb36
commit 088b5913ef

View File

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