[llvm-testresults] buildbot failure in smooshlab on llvm-gcc-powerpc-darwin9

Rafael Espíndola rafael.espindola at gmail.com
Thu Nov 18 08:41:28 PST 2010


2010/11/18 Daniel Dunbar <daniel_dunbar at apple.com>:
> I may be recanting a bit here, I didn't think about llvm-gcc in this picture.
>
> How hard would it be to conditionalize this in the backend, and let the driver choose the style to use?

I don't think the backend is the correct place to handle this. If we
do need to print assembly without .loc, I think the asm streamer is
the correct place to isolate the problem. The idea is

* EmitDwarfLocDirective prints nothing
* Finish prints a debug_lines section using DW_LNE_set_address.

IMHO it would be better for llvm-gcc to use llvm-mc, but if that is
not possible for some reason I can extend the MC asm printer.

>  - Daniel

Cheers,
Rafael




More information about the llvm-testresults mailing list