search for: debug_loclists

Displaying 20 results from an estimated 31 matches for "debug_loclists".

2019 Oct 09
4
DebugInfo work contribution and update.
Hi llvm-dev, cfe-dev, It's been a while since our team is investigating DebugInfo in LLVM, we're looking forward to contribute and enhance in LLVM DebugInfo. We,'ve been investigating mostly on DWARF-5 aspects -- couple of them to mention-- 1. Language aspects 2. Location mostly optimized out ones 3. DebugInfo conformance to DWARF-5 To avoid getting conflicted with some body
2018 Jul 12
2
debug_rnglists status
Hi Victor, The work Wolfgang is doing should get us to the "minimum syntactically correct DWARF v5" stage, which we really wanted to have for LLVM 7.0. That is, once we have .debug_rnglists and .debug_loclists done, you can ask for DWARF 5 and get something that conforms to the spec. However, it won't conform if you ask for type units (I'm working on that) or split DWARF. If your motivation is to help reduce the number of relocations needed, then working on the .debug_addr section is definitely...
2019 Oct 09
3
DebugInfo work contribution and update.
Thanks, David for updating us. Regarding, mail address, can use anyone{@gmail or @amd}. but sourav0311 at gmail.com works best for me for mailing lists related stuff. Regarding, GDB side of DWARFv5 side of things, we've testing GDB-8.3 WRT DWARFv5 clang and gcc binaries to get better idea of debuggability of clang generated binaries with GDB. Primary motivation being GDB better handling of
2018 Jul 12
2
debug_rnglists status
Hello Wolfgang and team, I see that you are working on support of .debug_rnglists, I am interested in the feature too, could you please point me out what else left to be done so that I could help you? -- Best Regards, Victor Leschuk | Software Engineer | Access Softek
2019 Oct 09
5
DebugInfo work contribution and update.
On Wed, Oct 9, 2019 at 11:59 AM Robinson, Paul <paul.robinson at sony.com> wrote: > Welcome Sourabh, > > > > There are many bits of DWARF-5 that haven’t been implemented. > Got a short list, by chance? > I know there is currently no big push within Sony to “fill in the > corners” for v5, as we have been more focused on quality of debug info for > optimized
2020 Jun 04
4
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
...renced strings too? in that cas ewe'd have an interesting tradeoff of maybe using FORM_strp rather than strx - if we wanted the linker to be able to drop strings from dropped function definitions, etc) > .debug_macro contents are not tied to functions and won't be fragmented. > > .debug_loclists and .debug_rnglists should be fragmentable the same > way as .debug_info; they exist only as extensions of .debug_info, and > the range list for the CU itself is merely a concatenated set of > contributions from each constituent function, so that should Just Work > (although it won'...
2020 May 22
2
RFC: Add DWARF support for yaml2obj
I think we have to be careful here. We might want flexibility to say "I want to use a specific class" without having to specify the exact DW_FORM. Sometimes, we might even end up in an ambiguous situation and not get the result we want. For example, in DWARFv4, the DW_AT_high_pc attribute has either a Constant or an Address class, which use completely different forms, but if we have just
2020 Jun 09
2
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
...- if we wanted the > > linker to be able to drop strings from dropped function definitions, > > etc) > > Future refinements are quite possible! > > > > > > .debug_macro contents are not tied to functions and won't be fragmented. > > > > > > .debug_loclists and .debug_rnglists should be fragmentable the same > > > way as .debug_info; they exist only as extensions of .debug_info, and > > > the range list for the CU itself is merely a concatenated set of > > > contributions from each constituent function, so that should Just W...
2020 Jun 03
2
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
On Wed, Jun 3, 2020 at 6:34 AM Robinson, Paul <paul.robinson at sony.com> wrote: > > DWARF was designed in an era when COMDAT and ICF were not a thing, or at least not common, certainly not when talking about function code. The overhead of a unit occurred only once per translation unit, so that expense was reasonably amortized. > > > > Splitting functions into their own
2020 Nov 12
3
[LLD] Support DWARF64, debug_info "sorting"
...locations. >0000000000000c57 0000001800000001 R_X86_64_64 0000000000000000 .text._"some_mangeled_name" + 0 It may be weaker than "guaranteed": working in practice. Let's look at sections that reference these large .debug_* sections (.debug_info, .debug_str, .debug_loclists, .debug_rnglists, ...): * .debug_info: the first relocation references .debug_abbrev, good indicator * .debug_names references .debug_info: the first relocation (CU offset) is a good indicator * .debug_aranges references .debug_info: the first relocation (debug_info_offset) is a good indicator * ....
2020 Jul 24
2
Switch to ld.bfd tombstone behavior by default
...rectly with gdb until 1 is not used > > for rnglists/loclists as tombstone value. > > Not quite parsing this, but I think we're on the same page - that > bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, but > absolute 0) for everything else (including debug_loclists and > debug_rnglists)" is probably the most likely to work for gdb, since > it's been deployed for a long time. > > - Dave > > PS: Fair point about base address specifiers being able to produce 0,0 > entries - wouldn't mind fixing that in LLVM if I knew of an easy...
2020 Jul 24
2
Switch to ld.bfd tombstone behavior by default
...>> > for rnglists/loclists as tombstone value. >>> >>> Not quite parsing this, but I think we're on the same page - that >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, but >>> absolute 0) for everything else (including debug_loclists and >>> debug_rnglists)" is probably the most likely to work for gdb, since >>> it's been deployed for a long time. >>> >>> - Dave >>> >>> PS: Fair point about base address specifiers being able to produce 0,0 >>> entries - wou...
2020 Jul 21
3
Switch to ld.bfd tombstone behavior by default
>On Mon, Jul 20, 2020 at 10:32 AM Alexey Lapshin ><alapshin at accesssoftek.com> wrote: >> >> >On Fri, Jul 17, 2020 at 1:55 PM Alexey Lapshin <a.v.lapshin at mail.ru> wrote: >> >> >> >> >Пятница, 17 июля 2020, 19:42 +03:00 от David Blaikie <dblaikie at gmail.com>: >> >> > >> >> >On Fri, Jul 17, 2020 at
2020 Jul 25
2
Switch to ld.bfd tombstone behavior by default
...ombstone value. > > >>> > > >>> Not quite parsing this, but I think we're on the same page - that > > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, but > > >>> absolute 0) for everything else (including debug_loclists and > > >>> debug_rnglists)" is probably the most likely to work for gdb, since > > >>> it's been deployed for a long time. > > >>> > > >>> - Dave > > >>> > > >>> PS: Fair point about base address spe...
2020 Jul 27
2
Switch to ld.bfd tombstone behavior by default
...glists/loclists as tombstone value. > >>> > >>> Not quite parsing this, but I think we're on the same page - that > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, but > >>> absolute 0) for everything else (including debug_loclists and > >>> debug_rnglists)" is probably the most likely to work for gdb, since > >>> it's been deployed for a long time. > >>> > >>> - Dave > >>> > >>> PS: Fair point about base address specifiers being able to produce...
2020 Jul 29
2
Switch to ld.bfd tombstone behavior by default
...>> > >>> >> > >>> Not quite parsing this, but I think we're on the same page - that >> > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, but >> > >>> absolute 0) for everything else (including debug_loclists and >> > >>> debug_rnglists)" is probably the most likely to work for gdb, since >> > >>> it's been deployed for a long time. >> > >>> >> > >>> - Dave >> > >>> >> > >>> PS: Fair poin...
2020 Jun 25
2
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
...s had already worked on DWARF5 support? >DWARF64 - that's been around for a while, and just hasn't been needed >by LLVM users thus far, it seems (until recently - where some >developers have started working on that) There already implemented debug_names table, but debug_rnglists, debug_loclists, type units - are not implemented yet. The thing which should probably be changed is that dsymutil should not have its version of code generating DWARF tables. It should call already existed DWARF5/DWARF64 implementations. Then dsymutil would always use last DWARF generators. > >> 2....
2020 Jul 30
3
Switch to ld.bfd tombstone behavior by default
...>> > >>> Not quite parsing this, but I think we're on the same page - that >> >> > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, >> but >> >> > >>> absolute 0) for everything else (including debug_loclists and >> >> > >>> debug_rnglists)" is probably the most likely to work for gdb, >> since >> >> > >>> it's been deployed for a long time. >> >> > >>> >> >> > >>> - Dave >> >> >...
2020 Aug 05
2
Switch to ld.bfd tombstone behavior by default
...Not quite parsing this, but I think we're on the same page - that >> >> >> > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, >> >> but >> >> >> > >>> absolute 0) for everything else (including debug_loclists and >> >> >> > >>> debug_rnglists)" is probably the most likely to work for gdb, >> >> since >> >> >> > >>> it's been deployed for a long time. >> >> >> > >>> >> >> >> &g...
2020 Aug 05
3
Switch to ld.bfd tombstone behavior by default
...think we're on the same page - that > > >> >> >> > >>> bfd's tombstoning "1 for debug_ranges/debug_loc, 0 (not 0+addend, > > >> >> but > > >> >> >> > >>> absolute 0) for everything else (including debug_loclists and > > >> >> >> > >>> debug_rnglists)" is probably the most likely to work for gdb, > > >> >> since > > >> >> >> > >>> it's been deployed for a long time. > > >> >> >> > &g...