[llvm-commits] new patches for compiling linux with integrated-as

PaX Team pageexec at freemail.hu
Fri Nov 9 11:47:14 PST 2012


On 8 Nov 2012 at 15:05, Roman Divacky wrote:

> > - more .cfi* support: linux makes use of 3 CFI directives not yet (fully) supported
> >   by llvm.
> > 
> >   .cfi_startproc simple: i added the 'simple' keyword recognition but a review is needed.
> > 
> >   .cfi_undefined: new directive, it's only recognized, someone else will have to provide
> >   a proper implementation in MCStreamer::EmitCFIUndefined.
> > 
> >   .cfi_register: new directive, i think MCStreamer::EmitCFIRegister does what it
> >   should do, but review (and help with fixing it up :) is needed.
> 
> I finished this I think, the patch attached. This is the output I am getting:

hi Roman,

thanks for your work but i'm not really in the position to judge it as i know
nothing about DWARF internals ;). in any case, even if the produced data are
not perfect, we'd be a step ahead as what matters for linux right now is that
llvm understands the directives at all and we'll worry about kernel debugging
later.




More information about the llvm-commits mailing list