[LLVMdev] Exception Table Padding Change

Anton Korobeynikov anton at korobeynikov.info
Fri Feb 5 20:16:46 PST 2010


>> It looks like your goal is to keep the 32-bit pointers in the call-site table 4-byte aligned. Here is another solution, instead of having two labels at the start of the LSDA (with pad bytes between them), have no pad bytes and instead use an unnormalized uleb128 for the call-site table length. By unnormalized, I mean one with leading zeros. For instance, instead of:
>
> this sounds like a good idea to me.
Looks ok for me, but please postpone the patch until stuff pr5004
would land (it only requires testing on darwin), so we won't need to
do the testing several times, neither have the merge conflicts :)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list