[LLVMdev] Unwinds Gone Wild

Talin
Sat, 27 Sep 2008 02:33:18 -0000

Duncan Sands wrote:
>> I can't find any information about cxa_throw at all, not even a
type
>> signature. If I could, could I just call it as if it were unwind, and
it
>> would be caught by invoke?
>>
>
> cxa_throw comes from the gcc C++ runtime.  In order to see how to throw
> and catch things correctly using it, compile some C++ examples down to
> bitcode using llvm-g++.
>
So what about those of us who are implementing frontends that have no
connection with gcc or the c++ runtime at all? Are we out of luck as far
as unwind is concerned?

-- Talin