From 088b5913ef6f91fccc3c931653e16bfeb330c90b Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 3 Oct 2007 17:05:40 +0000 Subject: [PATCH] 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 --- lib/Transforms/IPO/Internalize.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.34.1