[PATCH] D15405: [EHPersonality] Add a new personality enum to represent langindPad of token type

Chen Li via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 14:03:52 PST 2015


chenli added a comment.

> I can imagine wanting to use some kind of relocating GC scheme in a function that uses C++ EH, and needing to name out the right __gxx_personality* symbol for the platform.


I think in general, we should allow all personality functions to have a token type. And adding a token type alternative for each of them (for example _gxx_personality_token_lp) might not be the best choice. But I don't mind taking this approach as a starting point (I don't minding taking the original approach either).


http://reviews.llvm.org/D15405





More information about the llvm-commits mailing list