public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27561] New: low-mem odr
@ 2021-03-11 13:30 vries at gcc dot gnu.org
  2021-03-11 14:07 ` [Bug default/27561] [dwz] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-11 13:30 UTC (permalink / raw)
  To: dwz

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

            Bug ID: 27561
           Summary: low-mem odr
           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: ---

Atm odr is disabled in low-mem mode, here in set_die_odr_state:
...
  if (low_mem)                                                                  
    /* Todo: allow low-mem mode.  */                                            
    return;                                                                    
             ...

In principle, we could enable this.

When doing the enable-and-see-what-breaks approach, we get a few easy things to
fix.  Using --devel-verify-dups also helps.  But after that, we run into harder
problems.

ISTM that enabling this only makes sense in a setup where all accesses of
struct dw_die fields after die_parent (so, the ones that are conditionally
available) can be (optionally) instrumented such that it's checked whether the
field is indeed available.

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

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

* [Bug default/27561] [dwz] low-mem odr
  2021-03-11 13:30 [Bug default/27561] New: low-mem odr vries at gcc dot gnu.org
@ 2021-03-11 14:07 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-11 14:07 UTC (permalink / raw)
  To: dwz

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |27562
            Summary|low-mem odr                 |[dwz] low-mem odr


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27562
[Bug 27562] [dwz] Verify that conditional fields of struct dw_die are only
accessed when available
-- 
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-11 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 13:30 [Bug default/27561] New: low-mem odr vries at gcc dot gnu.org
2021-03-11 14:07 ` [Bug default/27561] [dwz] " 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).