]> granicus.if.org Git - llvm/commit
Code-gen may inject code into the IR before it emits the ASM. The linker
authorBill Wendling <isanbard@gmail.com>
Fri, 13 Apr 2012 01:06:27 +0000 (01:06 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 13 Apr 2012 01:06:27 +0000 (01:06 +0000)
commitaab3c0cb077f741af3447cc030c28bedd23b491c
treee9d7b18884f4fc3e1fa36f5b1c919d4b972f3414
parent511568dd1f9863de1633b0db8bb105f783e8ac50
Code-gen may inject code into the IR before it emits the ASM. The linker
obviously cannot know that this code is present, let alone used. So prevent the
internalize pass from internalizing those global values which code-gen may
insert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Internalize.cpp