[LLVMdev] RFC: Darwin EH Patch
Bill Wendling
isanbard at gmail.com
Tue Sep 11 01:23:51 PDT 2007
Hi Anton,
>> It's not exactly tweaking magic knobs. It's doing something that's
>> already done -- putting the information in the TAI object, and
>> allowing the specific back-end to set the appropriate strings.
> It seems to me, that simple strings / bools there are not enough :)
> "$non_lazy_ptr" emission is already in asm printers (in 2 places!).
> The
> "L" prefix is PrivateGlobalPrefix (so PersonalityPrefix is really
> duplicate). That's why I thought about factoring such stuff into
> separate hooks. I'm really worrying, that number of such strings /
> bools
> can be increased, if somebody will try to make other targets (e.g.
> ppc /
> arm) fully support things, which are now x86-specific (I even don't
> know, whether current settings are enough to representing 64-bit
> specific information)
>
>> If I understand you correctly, this seems like a bigger project than
>> simply getting the personality function to work for Darwin. :-)
> I'm happy for this fix in short-term. But yes, it is pretty non-small
> project :)
Okay. I think we're on the same page then. :-) I'll go ahead and
commit this for the short term, and then we can hash out a better
long term solution. Sound good?
-bw
More information about the llvm-dev
mailing list