[PATCH] Support DWARF discriminators in object streamer.

Diego Novillo dnovillo at google.com
Thu Feb 13 18:35:06 PST 2014


On Feb 13, 2014 7:23 PM, "Rafael Ávila de Espíndola" <
rafael.espindola at gmail.com> wrote:
>
>
>
> ================
> Comment at: test/MC/ELF/discriminator.s:2
> @@ +1,3 @@
> +# RUN: llvm-mc -g -triple i386-unknown-unknown %s -filetype=obj -o - |
llvm-readobj -r | FileCheck %s
> +# RUN: llvm-mc -g -triple i386-unknown-unknown %s -filetype=obj -o - |
llvm-dwarfdump -debug-dump=line - | FileCheck %s -check-prefix=DWARF-DUMP
> +
> ----------------
> I don't think -g is what you want in here. That will produce debug info
for the assembly file.

Right. Which is exactly what i want for dwarfdump. Otherwise, i have to
generate all the dwarf directives myself.

>
>
>
> http://llvm-reviews.chandlerc.com/D2794
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/b6d13d5b/attachment.html>


More information about the llvm-commits mailing list