Don't internalize llvm.global[cd]tor unless there are uses of it. This
authorChris Lattner <sabre@nondot.org>
Thu, 19 Jan 2006 00:40:39 +0000 (00:40 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Jan 2006 00:40:39 +0000 (00:40 +0000)
commitee9e14cb8ab8e613bc6642396aaada20695b9458
tree689fd5d2b0c94883d5f25e129f87b53bcd112d21
parent8ff318b7fb6185e94403c0a902f1132141847ac5
Don't internalize llvm.global[cd]tor unless there are uses of it.  This
unbreaks front-ends that don't use __main (like the new CFE).

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