[llvm] r188297 - Output DW_AT_stmt_list dwarf debug info as DW_FORM_sec_offset instead of DW_FORM_data4 as it is a section offset (fixes the coff/dwarf debug info statement locations)

Renato Golin renato.golin at linaro.org
Tue Sep 3 11:21:47 PDT 2013


On 3 September 2013 17:14, Eric Christopher <echristo at gmail.com> wrote:

> I changed the default version on linux to say 4 in r189823. This
> doesn't hook up well with how the backend is generating code, but they
> should at least agree.
>

That's one bug down, but still doesn't fix the real issue, that is: Dwarf 3
consumers can't read LLVM-generated Dwarf.

And for such a small issue, I think this is a rather large side-effect...

Maybe keep this change out until there's a way to specify the Dwarf level?

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130903/b6be57dc/attachment.html>


More information about the llvm-commits mailing list