Take into account all flags when computing iface_hash
The "interface hash" should contain a hash of everything in the interface file. We are not doing that yet but at least a start is to include a hash of everything in `mi_self_recomp`, rather than just `mi_src_hash` and `mi_usages`. In particular, this fixes #25837, a bug where we should recompile a `dyn_hi` file but fail to do so.
Showing
- compiler/GHC/Iface/Recomp.hs 3 additions, 7 deletionscompiler/GHC/Iface/Recomp.hs
- testsuite/tests/driver/dynamicToo/dynamicToo001/Makefile 16 additions, 0 deletionstestsuite/tests/driver/dynamicToo/dynamicToo001/Makefile
- testsuite/tests/driver/dynamicToo/dynamicToo001/T25837.stdout 1 addition, 0 deletions...suite/tests/driver/dynamicToo/dynamicToo001/T25837.stdout
- testsuite/tests/driver/dynamicToo/dynamicToo001/T25837Module.hs 6 additions, 0 deletions...ite/tests/driver/dynamicToo/dynamicToo001/T25837Module.hs
- testsuite/tests/driver/dynamicToo/dynamicToo001/test.T 1 addition, 0 deletionstestsuite/tests/driver/dynamicToo/dynamicToo001/test.T
Loading
Please register or sign in to comment