[LLVMdev] how to get the InvodInst 's Operand Name?

zhengjian zhang zhangzhengjian at gmail.com
Thu Mar 26 03:37:34 PDT 2009


Hi Duncan,

>>are you trying to get the name "@_ZTIi" or "@__cxa_throw"?

yes! i want get the name @_ZTi or @__cxa_throw,
the latter @__cxa_throw i can get it throw  value->getName(), but the
 @_ZTi it  did n't has  name!


zhangzw
thanks


2009/3/26 Duncan Sands <baldrick at free.fr>:
> Hi zhangzw,
>
>> invoke void @__cxa_throw(i8* %7, i8* bitcast
>> (%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*), void (i8*)*
>> null)
>> noreturn         to label %invcont unwind label %lpad
>>
>> say I want to get the Invoke's Operand's  name
>
> are you trying to get the name "@_ZTIi" or "@__cxa_throw"?
>
> Ciao,
>
> Duncan.
>



More information about the llvm-dev mailing list