| Summary: | CU referenced from PU (--odr-mode=link case) (bis) | ||
|---|---|---|---|
| Product: | dwz | Reporter: | Tom de Vries <vries> |
| Component: | default | Assignee: | Nobody <nobody> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dwz |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
|
Description
Tom de Vries
2021-02-24 17:37:21 UTC
Tentative fix:
...
diff --git a/dwz.c b/dwz.c
index 7bd18e3..89a231f 100644
--- a/dwz.c
+++ b/dwz.c
@@ -8445,6 +8445,9 @@ partition_dups (void)
if (s)
mark_singletons (die_cu (s), s, s, &ob2);
}
+ else if (cnt_ref_cus (die) == 1)
+ mark_singletons (die_cu (die), die, die, &ob2);
+
arr = (dw_die_ref *) obstack_base (&ob2);
}
...
|