aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit30be8a30ccc87cf741055d0f0ffa9116e8fd5efe (patch)
tree56e92dba44b789133a1921d8d55987fba0d7752b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent743bf67caf459eb3f9ca8043b02986a00e77a8f6 (diff)
downloadllvm-30be8a30ccc87cf741055d0f0ffa9116e8fd5efe.zip
llvm-30be8a30ccc87cf741055d0f0ffa9116e8fd5efe.tar.gz
llvm-30be8a30ccc87cf741055d0f0ffa9116e8fd5efe.tar.bz2
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. llvm-svn: 176459
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions