[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-20 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #8 from Mark Wielaard --- (In reply to Milian Wolff from comment #7) > hmm but in perfparser we have a workaround for missing aranges... I'll have > to dig into this to see why it doesn't work here. You also mention it is an issue

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-20 Thread mail at milianw dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #7 from Milian Wolff --- hmm but in perfparser we have a workaround for missing aranges... I'll have to dig into this to see why it doesn't work here. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-18 Thread jistone at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #6 from Josh Stone --- Aha, I thought this was familiar. I guess I should try to implement that aranges change in rustc after all. However, I think elfutils should probably still try to deal without aranges, on par with binutils.

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-18 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #5 from Mark Wielaard --- I suspect this is the same as https://sourceware.org/bugzilla/show_bug.cgi?id=22288 If so then rustc -Cllvm-args=-generate-arange-section should resolve it. -- You are receiving this mail because: You a

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-18 Thread jistone at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #4 from Josh Stone --- I can also reproduce this with Clang (clang-9.0.0-1.fc31.x86_64), so it seems to be a more general problem with LLVM as the producer. $ bat main.c ───┬──

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-18 Thread jistone at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 Josh Stone changed: What|Removed |Added CC||jistone at redhat dot com --- Comment #3

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-16 Thread mail at milianw dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 --- Comment #2 from Milian Wolff --- Created attachment 12080 --> https://sourceware.org/bugzilla/attachment.cgi?id=12080&action=edit binary for reproduction here's the compressed binary as compiled with rustc 1.39.0 (4560ea788 2019-11-04)

[Bug libdw/25173] dwarf_getsrc_die fails for rust code

2019-11-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25173 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1