public inbox for
 help / color / mirror / Atom feed
* [Bug default/27480] New: Consider .debug_loclists optimizations
@ 2021-02-27 10:45 jakub at redhat dot com
  2021-03-02  7:51 ` [Bug default/27480] " vries at gcc dot
  0 siblings, 1 reply; 2+ messages in thread
From: jakub at redhat dot com @ 2021-02-27 10:45 UTC (permalink / raw)
  To: dwz

            Bug ID: 27480
           Summary: Consider .debug_loclists optimizations
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: jakub at redhat dot com
                CC: dwz at sourceware dot org
  Target Milestone: ---

As mentioned in
GCC for non-partitioned TUs emits DW_LLE_offset_pair which will be likely a win
for small TUs, but might be too large for very large TUs - both operands are
offsets from base, so say 256KB TU would near the end of the .text section have
3 bytes for each of the operands, and for 2MB TU even 4 bytes for each operand.
Compared to one DW_LLE_base_address with 4 (or 8) byte operand and then
DW_LLE_offset_pair with likely just 1 byte operands.
Similarly, for partitioned TUs, we emit DW_LLE_start_end or DW_LLE_base_address
+ DW_LLE_offset_pair, but maybe DW_LLE_offset_pair would be smaller.

You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-02  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-27 10:45 [Bug default/27480] New: Consider .debug_loclists optimizations jakub at redhat dot com
2021-03-02  7:51 ` [Bug default/27480] " vries at gcc dot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).