[LLVMdev] RFC: Exception Handling Rewrite
gvenn.cfe.dev at gmail.com
Sun Jul 31 14:35:16 PDT 2011
Just one question.
On Jul 31, 2011, at 14:06, Duncan Sands wrote:
> Hi Bill,
>> Please read this proposal and send me your comments, suggestions, and concerns.
> this proposal looks great to me. Thanks for working on it. I have a few minor
> comments, see below.
> 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?
If I understand your query correctly, wouldn't the string--I am assuming symbol
here, have to be known at compile time. For example, if the personality function
was not extern Ced, and instead would be mangled by the compiler, wouldn't
the developer not know what the symbol name was to supply to the API? I guess
if this is what you mean, the API could additionally state that only C functions
(extern C), could be used, and therefore the supplied name would match.
> Ciao, Duncan.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev