[LLVMdev] Advice on MachineMoves and SEH

Anton Korobeynikov anton at korobeynikov.info
Thu Jun 2 03:56:03 PDT 2011


Hi Chip,

> Because of all this, it's hard to reconstruct the SEH information from
> the MachineMove array. I have thought about adding a new array specific
> to SEH information, but I'm not sure how you guys would feel about that.
> Any ideas on how to solve this problem?
Same problem with ARM-specific EH. I ended with own information
scheme, where instructions are marked as "frame related" during all
prologue & epilogue emission and later are "recognized" during the MI
=> MCInst lowering. You might want to look into ARM backend, maybe we
can somehow "generalize" this approach.

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



More information about the llvm-dev mailing list