summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-10 00:27:45 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-10 00:27:45 +0000
commit83b44e1e219db7084d274fda4ce0e909bb0ddee0 (patch)
tree44e8c7be051d07a76e211f4f78d90b4d5ad35ab2 /clang/test/CodeGenCXX/mangle.cpp
parent576f8cf19fd70aa8254cb8ff16a39c110e744ce1 (diff)
downloadbcm5719-llvm-83b44e1e219db7084d274fda4ce0e909bb0ddee0.tar.gz
bcm5719-llvm-83b44e1e219db7084d274fda4ce0e909bb0ddee0.zip
Fix to support properly cleaning up failed address sinking against constants
As it turns out the source of the sunkaddr can be a constant, in which case there is not an instruction to delete, causing the cleanup code introduced in r204833 to crash. This patch adds a dynamic check to ensure the deleted value is in fact an instruction and not a constant. Patch by Louis Gerbarg <lgg@apple.com> llvm-svn: 205941
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud