search for: debug_line_str

Displaying 5 results from an estimated 5 matches for "debug_line_str".

2017 Apr 27
2
[DWARFv5] The new line-table section header
...v4 directory table is encoded.) However, because of the FORM code, we now have whole new worlds of complication regarding where the actual string might be. We might have DW_FORM_strp which puts the actual string in the .debug_string section; eventually we could have DW_FORM_line_str (pointing to .debug_line_str) or even DW_FORM_strx (indirecting through .debug_str_offsets). Conveniently, we have the DWARFFormValue class which knows how to decode data based on what the form code is. Inconveniently, DWARFFormValue assumes it is looking at a .debug_info section, and picks up its relocations from a DWARFUni...
2020 Jun 04
4
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
...file and directory names, unfortunately - and the line table's pretty compact, so not sure it'd be a great savings (especially compared to the ELF section overhead - at the object file size at least (though probably a small win for linked executable size)). Chances are those strings (now in debug_line_str) would be used /somewhere/ in the program, so linker string deduplication would get most of the wins - just dead offset entries in the line table header. > .debug_line_str is a string section and requires nothing special. > > .debug_names ... haven't looked at it but I suspect either...
2020 Jun 09
2
[Debuginfo][DWARF][LLD] Remove obsolete debug info in lld.
...- and > > the line table's pretty compact, so not sure it'd be a great savings > > (especially compared to the ELF section overhead - at the object file > > size at least (though probably a small win for linked executable > > size)). Chances are those strings (now in debug_line_str) would be > > used /somewhere/ in the program, so linker string deduplication would > > get most of the wins - just dead offset entries in the line table > > header. > > Sony does squeeze out the sequences for dead functions; I think it's > not a huge win, in terms of...
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 Aug 25
9
[Proposal][Debuginfo] dsymutil-like tool for ELF.
Hi,   We propose llvm-dwarfutil - a dsymutil-like tool for ELF.   Any thoughts on this?   Thanks in advance, Alexey. ====================================================================== llvm-dwarfutil(Apndx A) - is a tool that is used for processing debug info(DWARF) located in built binary files to improve debug info quality, reduce debug info size and accelerate debug info processing.