[LLVMdev] LLVM "Native" Backend

Christopher Lamb christopher.lamb at gmail.com
Fri Mar 16 14:57:27 PDT 2007


Having read through the documentation and browsed the code what are  
the missing pieces, if any, required to implement a "native" LLVM  
backend that:

* is able to produce loadable (ELF) object files with DWARF debugging  
information
* handle inline assembly
* perform linker all necessary linking fixups

This assumes that there will be no native object file linking stage  
in the tool chain.

 From what I can tell the ELF writer should be able to produce the  
object files, but a DWARF-in-ELF writer would have to be created to  
insert the debugging information into the ELF file.

Either the inline assembly would be reverse compiled or handled by  
custom pass. I'm not sure what the options are here...

Am I on the right track?
--
Christopher Lamb
christopher.lamb at gmail.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070316/ef9bbe15/attachment.html>


More information about the llvm-dev mailing list