aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-03-04 22:40:44 +0000
committerLang Hames <lhames@gmail.com>2013-03-04 22:40:44 +0000
commit880e8c0ad41345f353b819c51092baa8f05e1950 (patch)
treecc1c3b1b23a1d95e11f0d324c7d2a2d4f20e5502 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent1ae08e007784a0708d6dae9c37b84bb62d5e1282 (diff)
Check isDiscardableIfUnused, rather than hasLocalLinkage, when bumping
GlobalValue linkage up to ExternalLinkage in the ExtractGV pass. This prevents linkonce and linkonce_odr symbols from being DCE'd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions