HI all, here is a llvm IR : 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, I use getOperand(i)->getName(), it can work for that the Operand hasname, but some Operand hasn't name, So, My problem is how can i get all the Operand 's name ? zhangzw
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 nameare you trying to get the name "@_ZTIi" or "@__cxa_throw"? Ciao, Duncan.
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. >
Maybe Matching Threads
- [LLVMdev] how to get the InvodInst 's Operand Name?
- [LLVMdev] how to get the InvodInst 's Operand Name?
- [LLVMdev] how to get the InvodInst 's Operand Name?
- [LLVMdev] how to get the InvodInst 's Operand Name?
- [LLVMdev] how to get the InvodInst 's Operand Name?