public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/25142] New: Add optimization levels
@ 2019-01-01  0:00 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=25142

            Bug ID: 25142
           Summary: Add optimization levels
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

Both for the purposes of:
- bug analysis (for the dwz developer)
- bug workaround (for the dwz user)
it would be good to be able to somehow control the optimization level.

So, it would be possible to work around bugs in -O<n> by using -O<n-1>.

A possible optimization level distribution could be:
- O1: read in and write out, no duplicate DIE elimination: 
  - rewrite .debug_abbrev sections (merging abbreviation tables for different
    CUs to eliminate duplicate table entries),
  - use minimal reference encoding (f.i., rewrite DW_FORM_ref8 into
    DW_FORM_ref4)
- O2: eliminate duplicate DIEs intra-CU
- O3: eliminate duplicate DIEs inter-CU

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-28 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [Bug default/25142] New: Add optimization levels vries at gcc dot gnu.org

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).