[LLVMdev] Unwinds Gone Wild
viridia at gmail.com
Fri Sep 26 21:33:18 CDT 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?
More information about the LLVMdev