From: Tanya Lattner Date: Wed, 3 Oct 2007 17:05:40 +0000 (+0000) Subject: Fix PR1719, by not marking llvm.global.annotations internal. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=088b5913ef6f91fccc3c931653e16bfeb330c90b;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/IPO/Internalize.cpp b/lib/Transforms/IPO/Internalize.cpp index e7d65b86595..5d6eb6d2225 100644 --- a/lib/Transforms/IPO/Internalize.cpp +++ b/lib/Transforms/IPO/Internalize.cpp @@ -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();