Debugging annotation machinery

Carter Schonwald carter.schonwald at gmail.com
Mon Jan 4 23:32:36 UTC 2021


I don’t have good debugging wisdom, but I’d love to know what hash
functions you’re considering!

On Mon, Jan 4, 2021 at 2:22 AM Phyx <lonetiger at gmail.com> wrote:

> Hi,
>
> I am changing the hashing algorithm used to create Fingerprints but
> somehow the annrun01.hs test has started failing and I don't quite
> understand why.
>
> From what I can tell the failure happens during deserialization but the
> module itself is still found.
> The calls findGlobalAnns deserializeWithData target seem to return nothing.
>
> Calling ~/ghc/inplace/bin/ghc-stage2.exe --show-iface Annrun01_Help.hi
> shows that GHC itself understands the module fine though.
>
> Does someone have an idea why deserialization might be failing? but also
> how does one debug this? Almost none of the structures have a Show or
> Outputable instance...
>
> Thanks,
> Tamar
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210104/235b6646/attachment.html>


More information about the ghc-devs mailing list