[LLVMdev] RFC: Exception Handling Rewrite

Eli Friedman eli.friedman at gmail.com
Sun Jul 31 15:01:40 PDT 2011

On Sun, Jul 31, 2011 at 11:06 AM, Duncan Sands <baldrick at free.fr> wrote:
> Another comment is: rather than using a function pointer for the personality
> function (and requiring a declaration for the personality), maybe it could
> just be a string?  After all, you don't actually do anything much with it:
> you just dump the name into the assembler.  Perhaps the same goes for catches
> and so on: is a global really needed and not its name?

There isn't any guarantee that the relevant globals are externally
visible; granted, this is unlikely for the personality function, but
it's very easy to write C++ code where the type info for a class is an
internal symbol.


More information about the llvm-dev mailing list