summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-09 05:52:15 +0000
committerChris Lattner <sabre@nondot.org>2009-03-09 05:52:15 +0000
commit317293b504e5ef3e65e3dacc645fa465359adc26 (patch)
tree27d25532e40dc00a0dc4213183a4970879fda188 /clang/lib/CodeGen/CodeGenModule.cpp
parent6f884e07c57809d8a3af4f6374797fbfaf019382 (diff)
downloadbcm5719-llvm-317293b504e5ef3e65e3dacc645fa465359adc26.tar.gz
bcm5719-llvm-317293b504e5ef3e65e3dacc645fa465359adc26.zip
Make the code generator rip of dead constant expr uses before deciding
whether a global is dead or not. This should fix PR3749 - linker adds spurious use to appending globals. I can't reasonably add a testcase for this, because the bc writer/reader strip dead constant users. llvm-svn: 66404
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud