]> granicus.if.org Git - clang/commit
[ObjC++] Use the correct EH personality in GNU mode
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 1 Apr 2017 17:59:01 +0000 (17:59 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 1 Apr 2017 17:59:01 +0000 (17:59 +0000)
commit5285209f96486181a4179963f5f3c6ba2a375607
tree1da7d72cf6a2205229d1e4884b8311c41e0aa3f7
parent256dc09899281a446d0eee2c99927ccf864217e5
[ObjC++] Use the correct EH personality in GNU mode

Previously, it would just always use the ObjC DWARF personality, even with SjLj
or SEH exceptions.

Patch by Jonathan Schleifer, test case by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299306 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
test/CodeGenObjCXX/objfw-exceptions.mm [new file with mode: 0644]