[Bug default/25398] [dwz, fixed-needs-testcase] CU referenced from PU
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Feb 25 14:50:51 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=25398
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #1)
> Assert that catches the situation:
> ...
> diff --git a/dwz.c b/dwz.c
> index 0087ac7..4188e1a 100644
> --- a/dwz.c
> +++ b/dwz.c
> @@ -10938,6 +10938,8 @@ write_die (unsigned char *ptr, dw_cu_ref cu,
> dw_die_ref die,
> {
> dw_cu_ref refdcu = die_cu (refd);
> value = refd->u.p2.die_new_offset;
> + assert (IMPLIES (cu->cu_kind == CU_PU,
> + die_cu (refd)->cu_kind == CU_PU));
> assert (value && refdcu->cu_kind != CU_ALT);
> if (t->attr[j].form == DW_FORM_ref_addr)
> {
> ...
https://sourceware.org/pipermail/dwz/2021q1/000976.html
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list