----- Original Message ----> From aaronngray.lists at googlemail.com Mon Jul 27 15:14:40 2009 > From: aaronngray.lists at googlemail.com (Aaron Gray) > Date: Mon, 27 Jul 2009 21:14:40 +0100 > Subject: [LLVMdev] llc - generation of native machine code > > > On Mon, Jul 27, 2009 at 8:25 AM, Rudskyy<tema13tema at yahoo.de> wrote: > > > But now I am looking for generation of machine code for my target. Ihave> > > seen, that ?llc? has option "-filetype". > > > > > > It has default value "-filetype=asm", but has more values, as > > > "-filetype=obj" and "-filetype=dynlib". > > > > > > ?obj? is very interesting, but it till not supported L > > > > There's work in progress to make this work properly, but it's still a > > while off. See http://wiki.llvm.org/Direct_Object_Code_Emission . > > > Hi, > > We are "short circuiting" alot of this work in order to hopefully getbasic> working ELF and COFF writers into the next release of LLVM. Alot of theDOCE> work is toward a longer goal of providing linkers for LLVM. > It is best to talk to Chris Lattner and Bruno Cardoso about the ELFwriter.> You would need to add support for you target CPU such as relocation > information and debugging information. > > Bruno is working on his GSoC project and will be doing both ELF and DWARF > support, the DWARF support probably wont be ready until the end ofSeptember> though. > > There is very basic functioning ELF for X86 on SVN now. Patches for other > target archetectures are most welcomeHi Aaron! I have seen on SVN a last version. Yes! It supports now ELF for X86, perfect! But debug information ( .debug - sections) not implemented. I am looking for a possibility to use a LLVM with a debugger GDB. And GDB works with DWARF debug information. Will be continue a work with ELF-Writer for support of a debug? Or is there any other ideas for debug? I will add an ELF-Writer to my project (xPEC - processor from chip NetX)! Sank you! --Tema Best regards, Artem Rudskyy <http://www.uni-magdeburg.de/ieat/robotslab/> http://www..uni-magdeburg.de/ieat/robotslab/ <http://www.uni-magdeburg.de/> http://www.uni-magdeburg.de/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090901/39f0037c/attachment.html>
Bruno Cardoso Lopes
2009-Sep-01 17:11 UTC
[LLVMdev] llc - generation of native machine code
Hi Rudskyy,> I have seen on SVN a last version. Yes! It supports now ELF for X86, > perfect! But debug information ( .debug – sections) not implemented. I am > looking for a possibility to use a LLVM with a debugger GDB. And GDB works > with DWARF debug information. > > Will be continue a work with ELF-Writer for support of a debug? Or is there > any other ideas for debug?The support for debug and EH will come when the x86 code emitter is integrated with llvm-mc stuff, don't know how much long that will take. Cheers, -- Bruno Cardoso Lopes http://www.brunocardoso.cc