[LLVMdev] catch all
zhengjian zhang
zhangzhengjian at gmail.com
Tue May 12 05:39:51 PDT 2009
2009/5/12 Duncan Sands <baldrick at free.fr>:
>> that's right ! catch(all) has extra null arg,
>>
>> eh_select = tail call i32 (i8*, i8*, ...)*
>> @llvm.eh.selector.i32(i8* %eh_ptr, i8* bitcast (i32 (...)*
>> @__gxx_personality_v0 to i8*), i8* null) ; <i32> [#uses=0]
>>
>> I have doubt that :
>> the llvm-IR like above are all translated from catch(all) statement .
>
> I'm not sure what you are saying...
>
> Ciao,
>
> Duncan.
>
Hi,
sorry for my terible english !
I mean
there are only the catch(...) statement can be translate to the LLVM-IR :
eh_select = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32(i8*
%eh_ptr, i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i8*
null)
are there any other case can be translate to the same above LLVM-IR ?
best regards
zhangzw
More information about the llvm-dev
mailing list