[LLVMdev] For a small help
jeffc at jolt-lang.org
Wed Apr 4 19:10:43 CDT 2007
Luc Bourhis wrote:
> On 4 Apr 2007, at 20:10, Jeff Cohen wrote:
>> %obj = alloca %struct.TestClass, align 1 ; <%struct.TestClass*>
>> %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
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. If you are doing your own language, you can do whatever you want
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev