[LLVMdev] Status on llvm-g++ -> llc -> C backend

Chris Lattner sabre at nondot.org
Fri Jun 2 13:22:02 PDT 2006


On Fri, 2 Jun 2006, Ashwin Chandra wrote:
> Thanks Anton and Chris, it works.
> On a side note is there a way to have llc preserve function names upon
> output to C so that external CPP files that link this file in will be able
> to find the correct functions. And how about name mangling? I assume this is
> something not taken care of by llc or at least from llvm-g++ to bytecode.

This should be all automatic.  You shouldn't have to do anything special 
for it to work.

-Chris

> On 6/2/06, Chris Lattner <sabre at nondot.org> wrote:
>> 
>> On Fri, 2 Jun 2006, Anton Korobeynikov wrote:
>> > Hello, Chris.
>> > You wrote Friday, June 2, 2006, 9:27:25 PM:
>> > CL> I don't see that failure.  We'll need more info to reproduce the
>> issue.
>> > Got fixed by adding the folowing line in ther early beginning of
>> > LowerAllocations.cpp file:
>> >
>> > static IncludeFile CUFENP((void*)createUnifyFunctionExitNodesPass);
>> 
>> I committed these patches to CVS, please see if it fixes the problems.
>> 
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060529/035357.html
>> 
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060529/035356.html
>> 
>> Thanks for tracking this down Anton!
>> 
>> -Chris
>> 
>> --
>> http://nondot.org/sabre/
>> http://llvm.org/
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>> 
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list