[LLVMdev] RFC: Darwin EH Patch

Anton Korobeynikov asl at math.spbu.ru
Tue Sep 11 00:56:17 PDT 2007


Hello, Bill.

> 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 :)

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list