aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-26 01:10:25 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-26 01:10:25 +0000
commit9b9932229d70ec9807e4a7f1de9ee8473a3196a9 (patch)
tree4d80d8f0de016d49fc6765e2232a33bb86892631 /llvm/lib/Object/ELFObjectFile.cpp
parent5e9e1991e9d88c711be8b2996590d9e3769d4ac1 (diff)
downloadllvm-9b9932229d70ec9807e4a7f1de9ee8473a3196a9.zip
llvm-9b9932229d70ec9807e4a7f1de9ee8473a3196a9.tar.gz
llvm-9b9932229d70ec9807e4a7f1de9ee8473a3196a9.tar.bz2
Reapply r142920 with fix:
An MBB which branches to an EH landing pad shouldn't be considered for tail merging. In SjLj EH, the jump to the landing pad is not done explicitly through a branch statement. The EH landing pad is added as a successor to the throwing BB. Because of that however, the branch folding pass could mistakenly think that it could merge the throwing BB with another BB. This isn't safe to do. <rdar://problem/10334833> llvm-svn: 143001
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions