[llvm-commits] [llvm-gcc-4.2] r85649 - /llvm-gcc-4.2/trunk/gcc/cp/decl.c
Bill Wendling
isanbard at gmail.com
Sun Nov 1 12:17:48 PST 2009
On Nov 1, 2009, at 1:49 AM, Duncan Sands wrote:
> 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?
>
Apparently not. :) What are LLVM aliases?
-bw
More information about the llvm-commits
mailing list