[Bug default/27561] New: low-mem odr
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Mar 11 13:30:35 GMT 2021
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.
More information about the Dwz
mailing list