[LLVMdev] For a small help

Luc Bourhis luc_j_bourhis at mac.com
Wed Apr 4 17:03:34 PDT 2007


On 4 Apr 2007, at 20:10, Jeff Cohen wrote:

> […]
> 	%obj = alloca %struct.TestClass, align 1		; <%struct.TestClass*>  
> [#uses=1]
> 	%tmp1 = call int %_ZN9TestClass10testMethodEi( %struct.TestClass* % 
> obj, int 1 )		; <int> [#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



More information about the llvm-dev mailing list