[llvm-commits] [llvm-gcc-4.2] r85649 - /llvm-gcc-4.2/trunk/gcc/cp/decl.c

Duncan Sands baldrick at free.fr
Sun Nov 1 01:49:05 PST 2009


Hi Bill,

> When marking something as "nothrow", make sure that we're not blindly marking a
> "thunk" as nothrow. It should have the same nothrow setting as the function that
> it's thunking. This is because LLVM doesn't generate the add/jmp instruction
> sequence that gcc does; it's actually a function which calls the thunkee. If the
> thunkee can throw but the thunk is marked as "nothrow", then no EH information
> will be generated for the thunk, and exceptions will go blammo!

I thought thunks got turned into LLVM aliases?

Ciao,

Duncan.



More information about the llvm-commits mailing list