diff options
author | Lang Hames <lhames@gmail.com> | 2013-03-04 22:40:44 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-03-04 22:40:44 +0000 |
commit | 30be8a30ccc87cf741055d0f0ffa9116e8fd5efe (patch) | |
tree | 56e92dba44b789133a1921d8d55987fba0d7752b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 743bf67caf459eb3f9ca8043b02986a00e77a8f6 (diff) | |
download | llvm-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