aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-06-15 05:27:05 +0000
committerJohn McCall <rjmccall@apple.com>2012-06-15 05:27:05 +0000
commitd8d00be632593eae7495b50fa869b69ff793dce2 (patch)
treefcdbf89b8867075a5a24455dca23499bc0ed2202 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parente6799ddae83082a494f968cab205ef8754f82e64 (diff)
downloadllvm-d8d00be632593eae7495b50fa869b69ff793dce2.zip
llvm-d8d00be632593eae7495b50fa869b69ff793dce2.tar.gz
llvm-d8d00be632593eae7495b50fa869b69ff793dce2.tar.bz2
It turns out that implementing the rethrow-on-fallthrough
semantics of a ctor/dtor function-try-block catch handler by pushing a normal cleanup is not just overkill but actually actively wrong when the handler contains an explicit return (which is only legal in a dtor). Just emit the rethrow as ordinary code at the fallthrough point. Fixes PR13102. llvm-svn: 158488
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions