]> granicus.if.org Git - clang/commit
[WinEH] Don't use lifetime markers for MS catch parameters
authorReid Kleckner <rnk@google.com>
Wed, 7 Oct 2015 21:03:41 +0000 (21:03 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 7 Oct 2015 21:03:41 +0000 (21:03 +0000)
commit674eacdb1b83b5bfd293a2c2615b1fe734bf64c6
tree4b7462094b1d01a86d31c3cd377facf69f6fec5c
parentf0f50a846cafd43064f0695aeac6417880bead3b
[WinEH] Don't use lifetime markers for MS catch parameters

We don't have a good place to put them. Our previous spot was causing us
to optimize loads from the exception object to undef, because it was
after the catchpad instruction that models the write to the catch
object.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGenCXX/microsoft-abi-eh-catch.cpp