[LLVMdev] Unwinds Gone Wild
Talin
viridia at gmail.com
Fri Sep 26 19:33:18 PDT 2008
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
More information about the llvm-dev
mailing list