[PATCH] D44278: CodeGen: simplify and validate exception personalities
Saleem Abdulrasool via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 8 15:47:05 PST 2018
compnerd created this revision.
compnerd added reviewers: rnk, smeenai.
Simplify the dispatching for the personality routines. This really had
no test coverage previously, so add test coverage for the various cases.
This turns out to be pretty complicated as the various languages and
models interact to change personalities around.
You really should feel bad for the compiler if you are using exceptions.
There is no reason for this type of cruelty.
Repository:
rC Clang
https://reviews.llvm.org/D44278
Files:
lib/CodeGen/CGException.cpp
test/CodeGen/personality.c
test/CodeGenCXX/personality.cpp
test/CodeGenObjC/personality.m
test/CodeGenObjCXX/personality.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44278.137667.patch
Type: text/x-patch
Size: 37168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180308/718d9058/attachment-0001.bin>
More information about the cfe-commits
mailing list