[LLVMdev] For a small help

Luc Bourhis luc_j_bourhis at mac.com
Fri Apr 6 04:17:43 PDT 2007


>>> […]
>>> 	%obj = alloca %struct.TestClass, align 1		; <%struct.TestClass*>
>>> [#uses=1]
>>> 	%tmp1 = call int %_ZN9TestClass10testMethodEi( %struct.TestClass* %
>>> obj, int 1 )		;  [#uses=0]
>>> 	ret void
>>> }
>>>
>>> declare int %_ZN9TestClass10testMethodEi(%struct.TestClass*, int)
>>>
>> The name mangling is not very pretty though and it is specific to the
>> C++ front-end. What is the best manner to deal with that problem?
>>
>> Luc Bourhis
>
> What exactly is the problem that needs dealing with?
>
> If you intend to link with C++ code, there is no choice but to live  
> with it.

So I did. Fair enough.

Luc



More information about the llvm-dev mailing list