Do not emit a UsedDirective for things in the llvm.used
authorDale Johannesen <dalej@apple.com>
Wed, 3 Sep 2008 20:34:58 +0000 (20:34 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 3 Sep 2008 20:34:58 +0000 (20:34 +0000)
commit61e6093dc8d92def3dfe0b379df83f70b0558247
tree133113d6a1e4f964762bba0991fd16cec37be158
parent7946e7b8a4058fc2c76f782fa87340738caafaec
Do not emit a UsedDirective for things in the llvm.used
list that have internal linkage; the linker doesn't need
or want this.  (These objects must still be preserved
at compile time, so just removing them from the llvm.used
list doesn't work.)  Should affect only Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55722 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp