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

Evan Cheng echeng at apple.com
Thu Mar 26 09:22:02 PDT 2009


On Mar 26, 2009, at 7:30 AM, zhengjian zhang wrote:

> Hi Duncan,
>
>
>>> I don't get it.
> Sorry my bad English!  hehe.
>
>>> What has this got to do with determining the
>>> names "@__cxa_throw" and "@_ZTi"?
>
> Record the Information into the MachineModule Info, so in Dwarfwriter
> or SjLjWriter(my sjlj-eh name)
> can build the except table correctly!

Is it possible to implement it without using MachineModuleInfo? It's  
being removed.

Evan

>
>
> 2009/3/26 Duncan Sands <baldrick at free.fr>:
>> Hi zhangzw,
>>
>>>>> Why do you want the names anyway?
>>>
>>> because i 'am working on llvm to support  sjlj-eh  for my target.
>>> for my side, I  lookup the  llvm   invoke instruction to build the  
>>> sjlj-eh
>>> on sjlj-eh it's need store the  landing pad index to stack before
>>> call __cxa_throw,
>>> but  it seems  no !  in llvm-backend   because it only suport  
>>> dwarf-eh!
>>> so i have to build another node to store landingpad index to stack
>>> before  llvm invoke instruction.
>>> am i write for the direction?  hehe.
>>
>> I don't get it.  What has this got to do with determining the
>> names "@__cxa_throw" and "@_ZTi"?
>>
>> Ciao,
>>
>> Duncan.
>>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list