summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Archive
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-11 00:13:08 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-11 00:13:08 +0000
commitc79155192d25a35cfbae5d9d474aa24713be8098 (patch)
tree85a4a55ea170929a7547ebc3ad26ddf1b567b114 /llvm/lib/Archive
parentd9e73937412e8f837a3113efab9d4863f1f2af60 (diff)
downloadbcm5719-llvm-c79155192d25a35cfbae5d9d474aa24713be8098.tar.gz
bcm5719-llvm-c79155192d25a35cfbae5d9d474aa24713be8098.zip
If the global variable is removed by the linker, then don't constant merge it
with other symbols. An object in the __cfstring section is suppoed to be filled with CFString objects, which have a pointer to ___CFConstantStringClassReference followed by a pointer to a __cstring. If we allow the object in the __cstring section to be merged with another global, then it could end up in any section. Because the linker is going to remove these symbols in the final executable, we shouldn't bother to merge them. <rdar://problem/10564621> llvm-svn: 147899
Diffstat (limited to 'llvm/lib/Archive')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud