[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 17 commits: Add -fbreak-points to control breakpoint insertion

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Sun Jul 2 14:27:40 UTC 2023



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
1b668a27 by Torsten Schmits at 2023-07-02T10:26:56-04:00
Add -fbreak-points to control breakpoint insertion

Rather than statically enabling breakpoints only for the interpreter,
this adds a new flag.

Tracking ticket: #23057

MR: !10466

- - - - -
dee32ab0 by Ben Gamari at 2023-07-02T10:26:58-04:00
rts: Ensure that pinned allocations respect block size

Previously, it was possible for pinned, aligned allocation requests to
allocate beyond the end of the pinned accumulator block. Specifically,
we failed to account for the padding needed to achieve the requested
alignment in the "large object" check. With large alignment requests,
this can result in the allocator using the capability's pinned object
accumulator block to service a request which is larger than
`PINNED_EMPTY_SIZE`.

To fix this we reorganize `allocatePinned` to consistently account for
the alignment padding in all large object checks. This is a bit subtle
as we must handle the case of a small allocation request filling the
accumulator block, as well as large requests.

Fixes #23400.

- - - - -
262e7b05 by Ben Gamari at 2023-07-02T10:26:58-04:00
testsuite: Add test for #23400

- - - - -
c1c47984 by Ben Gamari at 2023-07-02T10:26:59-04:00
ghc-heap: Support for BLOCKING_QUEUE closures

- - - - -
a608a6af by Ben Bellick at 2023-07-02T10:27:03-04:00
Add some structured diagnostics in Tc/Validity.hs

This addresses the work of ticket #20118
Created the following constructors for TcRnMessage
 - TcRnInaccessibleCoAxBranch
 - TcRnPatersonCondFailure

- - - - -
7289bb5d by Moisés Ackerman at 2023-07-02T10:27:09-04:00
Add failing test case for #23492

- - - - -
ff3a369e by Moisés Ackerman at 2023-07-02T10:27:09-04:00
Use generated src span for catch-all case of record selector functions

This fixes #23492. The problem was that we used the real source span
of the field declaration for the generated catch-all case in the
selector function, in particular in the generated call to
`recSelError`, which meant it was included in the HIE output. Using
`generatedSrcSpan` instead means that it is not included.

- - - - -
6f32aa31 by Moisés Ackerman at 2023-07-02T10:27:09-04:00
Introduce genLHsApp and genLHsLit helpers in GHC.Rename.Utils

- - - - -
a7dc5e94 by Moisés Ackerman at 2023-07-02T10:27:09-04:00
Construct catch-all default case using helpers

GHC.Rename.Utils concrete helpers instead of wrapGenSpan + HS AST constructors

- - - - -
beaf7a02 by Ryan Hendrickson at 2023-07-02T10:27:15-04:00
Add regression test for #23549

- - - - -
076e53a1 by Alexis King at 2023-07-02T10:27:26-04:00
perf tests: Increase default stack size for MultiLayerModules

An unhelpfully small stack size appears to have been the real culprit
behind the metric fluctuations in #19293. Debugging metric decreases
triggered by !10729 helped to finally identify the problem.

Metric Decrease:
    MultiLayerModules
    MultiLayerModulesTH_Make
    T13701
    T14697

- - - - -
5c1b4023 by Bryan Richter at 2023-07-02T10:27:26-04:00
Add missing void prototypes to rts functions

See #23561.

- - - - -
4b902209 by Ben Gamari at 2023-07-02T10:27:27-04:00
gitlab-ci: Refactor compilation of gen_ci

Flakify and document it, making it far less sensitive to the build
environment.

- - - - -
7dbee375 by Ben Gamari at 2023-07-02T10:27:27-04:00
testsuite: Update documentation
- - - - -
d9cf5698 by Gregory Gerasev at 2023-07-02T10:27:32-04:00
Better error for data deriving of type synonym/family. Closes #23522

- - - - -
9e81d3ed by Dave Barton at 2023-07-02T10:27:36-04:00
Fix some broken links and typos

- - - - -
ea161c2f by Ben Gamari at 2023-07-02T10:27:36-04:00
compiler: Make OccSet opaque

- - - - -


30 changed files:

- .gitignore
- .gitlab-ci.yml
- + .gitlab/generate-ci/LICENSE
- + .gitlab/generate-ci/README.mkd
- + .gitlab/generate-ci/flake.lock
- + .gitlab/generate-ci/flake.nix
- .gitlab/gen_ci.hs → .gitlab/generate-ci/gen_ci.hs
- + .gitlab/generate-ci/generate-ci.cabal
- + .gitlab/generate-ci/generate-job-metadata
- + .gitlab/generate-ci/generate-jobs
- − .gitlab/generate_job_metadata
- − .gitlab/generate_jobs
- compiler/GHC/Driver/Backend.hs
- compiler/GHC/Driver/Config/HsToCore/Ticks.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore.hs
- compiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Gen/HsType.hs
- compiler/GHC/Tc/TyCl/Utils.hs
- compiler/GHC/Tc/Utils/TcType.hs
- compiler/GHC/Tc/Validity.hs
- compiler/GHC/Types/Error/Codes.hs
- compiler/GHC/Types/Name/Occurrence.hs
- docs/users_guide/debug-info.rst
- docs/users_guide/exts/gadt.rst
- docs/users_guide/exts/pragmas.rst
- docs/users_guide/exts/type_families.rst


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d8cd1584aaf34b8f752fb4e8e2c1dfa2f4e74834...ea161c2f6989d62d711783c7df24ad5c5afe016e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d8cd1584aaf34b8f752fb4e8e2c1dfa2f4e74834...ea161c2f6989d62d711783c7df24ad5c5afe016e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230702/5d5e28d8/attachment.html>


More information about the ghc-commits mailing list