[committed] Add assert in partition_found_dups

Tom de Vries tdevries@suse.de
Thu Feb 18 13:04:19 GMT 2021


[ was: Re: [PATCH] Fix CK_BAD propagation for --odr ]
On 2/16/21 10:11 AM, Tom de Vries wrote:
> We can catch the problem of the checksum much earlier, with an assert:
> ...
>  static void
>  partition_found_dups (dw_die_ref die, struct obstack *vec)
>  {
> +  assert (die->die_ck_state == CK_KNOWN);
> ...

Committed assert for now.

Thanks,
- Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-assert-in-partition_found_dups.patch
Type: text/x-patch
Size: 2597 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/dwz/attachments/20210218/c0164a0d/attachment.bin>


More information about the Dwz mailing list