[LLVMdev] ARM and lowerinvoke
grosbach at apple.com
Tue Apr 21 14:57:48 PDT 2009
On Apr 21, 2009, at 2:52 PM, Chris Lattner wrote:
> On Apr 21, 2009, at 1:53 PM, Jim Grosbach wrote:
>> I'm looking at the lowerinvoke pass as a starting point for getting
>> SJLJ based exception handling working on ARM, but am having some
>> troubles with it. When I run a simple testcase (attached) through
>> llc and specify -enable-correct-eh-support, llc asserts on me. It
>> appears there's been some bitrot somewhere. SelectDAGBuild and
>> SelectionDAGISel cooperate to track landing pads with CatchInfoLost
>> and CatchInfoFound and make sure they're all handled.
> Hi Jim,
> One thing to know about lowerinvoke is that it does not conform at all
> to a native ABI. If you need to interoperate with existing code, you
> can't use it.
True. My idea was to use it as a starting point, then make something
from there that conforms to the ABI I need. That is, it definitely
isn't sufficient in and of itself, but I was hoping it would be a
decent beginning. Sounds like that may not be the case.
More information about the llvm-dev