summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-11-11 17:50:09 +0000
committerAdrian Prantl <aprantl@apple.com>2016-11-11 17:50:09 +0000
commit554fd99dd569e8a2053040f16d71894ac97e0754 (patch)
tree967624c24fe8c403715339f886662b4585cd6e93 /llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
parentd6e85ce3c3dad517b530fcb06c4fb20ed652a4ef (diff)
downloadbcm5719-llvm-554fd99dd569e8a2053040f16d71894ac97e0754.tar.gz
bcm5719-llvm-554fd99dd569e8a2053040f16d71894ac97e0754.zip
Revert "Use private linkage for MergedGlobals variables" on Darwin.
This is a partial revert of r244615 (http://reviews.llvm.org/D11942), which caused a major regression in debug info quality. Turning the artificial __MergedGlobal symbols into private symbols (l__MergedGlobal) means that the linker will not include them in the symbol table of the final executable. Without a symbol table entry dsymutil is not be able to process the debug info for any of the merged globals and thus drops the debug info for all of them. This patch is enabling the old behavior for all MachO targets while leaving all other targets unaffected. rdar://problem/29160481 https://reviews.llvm.org/D26531 llvm-svn: 286607
Diffstat (limited to 'llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud