Commits on Source (6)
-
`checkUnload` currently doesn't check the info header of static objects. Thus, it may free an `ObjectCode` struct wrongly even if there's still a live static object whose info header lies in a mapped section of that `ObjectCode`. This fixes the issue by adding an appropriate check.
6c7d73c8 -
Suppose you've made changes that affect the output of `haddockHtmlTest` so that the following is failing: ./hadrian/build.sh -c --only=haddockHtmlTest test Then, the following will accept new output for Haddock's test cases. ./hadrian/build.sh -c --only=haddockHtmlTest test --test-accept You still do need to make sure those new changes (which show up in Haddock's tree) get committed though. Fixes #16694
d277632e -
637c5388
-
As discussed in #16744, both the Make and Hadrian build systems have special code to always pass -eventlog whenever -prof or -debug are passed. However, there is some similar logic in the RTS itself only for defining TRACING when the DEBUG macro is defined, but no such logic is implemented to define TRACING when the PROFILING macro is defined. This patch adds such a logic and therefore fixes #16744.
7baef20f -
27d31a3b
-
Make/shell variable names which contain dashes can cause problems under some conditions. The 'ghc-config-mk' variable from testsuite/mk/boilerplate.mk that I made overridable (by Hadrian) in ba0aed2e was working as expected when our Hadrian/Linux job was based off the deb8 Docker image, but broke when I switched the job to use our deb9-based image, in 3d97bad6. The exact circumstances/tool versions that trigger this problem are unknown, but changing the variable's name to 'ghc_config_mk' lets us work around the issue. This fixes the annth_compunits and annth_make test failures that showed up when we switched the Hadrian/Linux job to use the deb9 environment.
13d8adec
Showing
- docs/users_guide/phases.rst 1 addition, 1 deletiondocs/users_guide/phases.rst
- hadrian/src/Rules/Test.hs 1 addition, 1 deletionhadrian/src/Rules/Test.hs
- includes/rts/Config.h 6 additions, 2 deletionsincludes/rts/Config.h
- rts/CheckUnload.c 2 additions, 1 deletionrts/CheckUnload.c
- rts/Linker.c 6 additions, 0 deletionsrts/Linker.c
- rts/RtsFlags.c 1 addition, 1 deletionrts/RtsFlags.c
- rts/linker/M32Alloc.c 1 addition, 1 deletionrts/linker/M32Alloc.c
- testsuite/mk/boilerplate.mk 4 additions, 4 deletionstestsuite/mk/boilerplate.mk
- testsuite/tests/ghci/T16525a/A.hs 12 additions, 0 deletionstestsuite/tests/ghci/T16525a/A.hs
- testsuite/tests/ghci/T16525a/B.hs 3 additions, 0 deletionstestsuite/tests/ghci/T16525a/B.hs
- testsuite/tests/ghci/T16525a/T16525a.script 6 additions, 0 deletionstestsuite/tests/ghci/T16525a/T16525a.script
- testsuite/tests/ghci/T16525a/T16525a.stdout 0 additions, 0 deletionstestsuite/tests/ghci/T16525a/T16525a.stdout
- testsuite/tests/ghci/T16525a/all.T 5 additions, 0 deletionstestsuite/tests/ghci/T16525a/all.T
- testsuite/tests/haddock/haddock_testsuite/Makefile 4 additions, 0 deletionstestsuite/tests/haddock/haddock_testsuite/Makefile
- testsuite/tests/haddock/haddock_testsuite/all.T 6 additions, 4 deletionstestsuite/tests/haddock/haddock_testsuite/all.T
testsuite/tests/ghci/T16525a/A.hs
0 → 100644
testsuite/tests/ghci/T16525a/B.hs
0 → 100644
testsuite/tests/ghci/T16525a/T16525a.script
0 → 100644
testsuite/tests/ghci/T16525a/T16525a.stdout
0 → 100644
testsuite/tests/ghci/T16525a/all.T
0 → 100644