Commits on Source (13)
-
Ben Gamari authoredfc3a2232
-
Workaround for #22255 which showed how treating large/compact regions as pinned could cause segfaults.
914f7fe3 -
When the installation makefile was copied over the manpages were no longer installed in the correct place. Now we install it into share/man/man1/ghc.1 as the make build system did. Fixes #22371
32b32d7f -
A long time ago we would rely on substitutions from the configure script to inject paths of the include and library directories of libffi and libdw. However, now these are instead handled inside Hadrian when calling Cabal's `configure` (see the uses of `cabalExtraDirs` in Hadrian's `Settings.Packages.packageArgs`). While the occurrences in the cabal file were redundant, they did no harm. However, since b5c71454 they have no longer been interpolated. @mpickering noticed the suspicious uninterpolated occurrence of `@FFIIncludeDir@` in #22595, prompting this commit to finally remove them.
b3ddf803 -
We will now use libffi-3.4.4.
b2c7523d -
The `-outputdir` option wasn't correctly handled with the JS backend because the same code path was used to handle both objects produced by the JS backend and foreign .js files. Now we clearly distinguish the two in the pipeline, fixing the bug.
99757ce8 -
This patch fixes #22634. Because we don't have TYPE/CONSTRAINT polymorphism, we need two error functions rather than one. I took the opportunity to rname runtimeError to impossibleError, to line up with mkImpossibleExpr, and avoid confusion with the genuine runtime-error-constructing functions.
02ed7d78 -
During shutdown it's possible that we will attempt to use a closed fd to wakeup another capability's event manager. On the Linux eventfd path we were careful to handle this. However on the non-Linux path we failed to do so. Fix this.
35267f07 -
This simple patch fixes #22647
317f45c1 -
Previously we would attempt to clear pages which were marked as read-only. Fix this.
14b2e3d3 -
Matthew Pickering authored
See #22664 for the changes which need to be made to bring one of these back to the validate pipeline.
16a1bcd1 -
Matthew Pickering authored
In #20472 it was pointed out that you couldn't defer out of scope but the implementation collapsed a RdrName into an OccName to stuff it into a Hole. This leads to the error message for a deferred qualified name dropping the qualification which affects the quality of the error message. This commit adds a bit more structure to a hole, so a hole can replace a RdrName without losing information about what that RdrName was. This is important when printing error messages. I also added a test which checks the Template Haskell deferral of out of scope qualified names works properly. Fixes #22130
3d66a218
Showing
- .gitlab-ci.yml 3 additions, 2 deletions.gitlab-ci.yml
- compiler/GHC/Builtin/Names.hs 34 additions, 32 deletionscompiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/Names/TH.hs 5 additions, 3 deletionscompiler/GHC/Builtin/Names/TH.hs
- compiler/GHC/Core/Make.hs 112 additions, 49 deletionscompiler/GHC/Core/Make.hs
- compiler/GHC/Core/Opt/ConstantFold.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/ConstantFold.hs
- compiler/GHC/Core/Opt/Simplify/Iteration.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/Simplify/Iteration.hs
- compiler/GHC/Core/Opt/SpecConstr.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Core/Type.hs 2 additions, 3 deletionscompiler/GHC/Core/Type.hs
- compiler/GHC/Core/Unify.hs 15 additions, 13 deletionscompiler/GHC/Core/Unify.hs
- compiler/GHC/CoreToStg/Prep.hs 1 addition, 2 deletionscompiler/GHC/CoreToStg/Prep.hs
- compiler/GHC/Driver/Pipeline.hs 7 additions, 3 deletionscompiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Driver/Pipeline/Execute.hs 19 additions, 20 deletionscompiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Driver/Pipeline/Phases.hs 1 addition, 0 deletionscompiler/GHC/Driver/Pipeline/Phases.hs
- compiler/GHC/Hs.hs 2 additions, 1 deletioncompiler/GHC/Hs.hs
- compiler/GHC/HsToCore/Pmc/Solver.hs 2 additions, 2 deletionscompiler/GHC/HsToCore/Pmc/Solver.hs
- compiler/GHC/HsToCore/Quote.hs 48 additions, 26 deletionscompiler/GHC/HsToCore/Quote.hs
- compiler/GHC/Parser.y 13 additions, 13 deletionscompiler/GHC/Parser.y
- compiler/GHC/Parser/Lexer.x 20 additions, 33 deletionscompiler/GHC/Parser/Lexer.x
- compiler/GHC/Parser/PostProcess.hs 1 addition, 1 deletioncompiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Rename/Expr.hs 19 additions, 1 deletioncompiler/GHC/Rename/Expr.hs