[PATCH] D12743: [CodeGen] Teach SimplifyPersonality about the updated LandingPadInst

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 11 09:29:21 PDT 2015


rnk added a subscriber: rnk.
rnk added a comment.

I'm confused. I thought SimplifyPersonalityFunction was an optimization, but somehow it caused link failures? Why do you think this was an ABI break?


================
Comment at: test/CodeGenObjCXX/exception-cxx.mm:8
@@ +7,3 @@
+      throw 0;
+    } catch (...) {
+      return;
----------------
Don't you want to test the 'catch (int e)' case? That introduces interesting uses of the selector that catch-all doesn't have.


http://reviews.llvm.org/D12743





More information about the cfe-commits mailing list