[Git][ghc/ghc][wip/T24040-ghci-timeout] 17 commits: distrib: Rediscover otool and install_name_tool on Darwin

Hassan Al-Awwadi (@hassan.awwadi) gitlab at gitlab.haskell.org
Mon Dec 4 16:47:18 UTC 2023



Hassan Al-Awwadi pushed to branch wip/T24040-ghci-timeout at Glasgow Haskell Compiler / GHC


Commits:
13855309 by Ben Gamari at 2023-12-04T17:46:35+01:00
distrib: Rediscover otool and install_name_tool on Darwin

In the bindist configure script we must rediscover the `otool` and
`install_name_tool`s since they may be different from the build
environment.

Fixes #24211.

- - - - -
0d541871 by Stefan Schulze Frielinghaus at 2023-12-04T17:46:35+01:00
llvmGen: Align objects in the data section

Objects in the data section may be referenced via tagged pointers.
Thus, align those objects to a 4- or 8-byte boundary for 32- or 64-bit
platforms, respectively.  Note, this may need to be reconsidered if
objects with a greater natural alignment requirement are emitted as e.g.
128-bit atomics.

Fixes #24163.

- - - - -
20f91d2c by Matthew Pickering at 2023-12-04T17:46:36+01:00
metrics: Widen libdir and size_hello_obj acceptance window

af8816740d9b8759be1a22af8adcb5f13edeb61d shows that the libdir size can
fluctuate quite significantly even when the change is quite small.
Therefore we widen the acceptance window to 10%.

- - - - -
be5206d6 by Alan Zimmerman at 2023-12-04T17:46:36+01:00
EPA: Clean up TC Monad Utils

We no longer need the alternative variant of addLocM (addLocMA)
nor wrapLocAM, wrapLocSndMA.

aarch64-darwin
Metric Increase:
    MultiLayerModulesTH_OneShot

deb10-numa-slow
Metric Decrease:
    libdir

- - - - -
e09261ae by Sebastian Graf at 2023-12-04T17:46:36+01:00
perf tests: Move comments into new `Note [Sensitivity to unique increment]` (#19414)

And additionally to T12545, link from T8095, T13386 to this new Note.

- - - - -
f2f7a19d by Alan Zimmerman at 2023-12-04T17:46:36+01:00
EPA: EpaDelta for comment has no comments

EpaLocation is used to position things. It has two constructors,
EpaSpan holding a SrcSpan, and EpaDelta with a delta position and a
possible list of comments.  The comment list is needed because the
location in EpaDelta has no absolute information to decide which
comments should be emitted before them when printing.

But it is also used for specifying the position of a comment.  To
prevent the absurdity of a comment position having a list of comments
in it, we make EpaLocation parameterisable, using comments for the
normal case and a constant for within comments.

Updates haddock submodule.

aarch64-darwin
Metric Decrease:
    MultiLayerModulesTH_OneShot

- - - - -
d1ae80e3 by Krzysztof Gogolewski at 2023-12-04T17:46:36+01:00
Kind-check body of a required forall

We now require that in 'forall a -> ty', ty has kind TYPE r for some r.
Fixes #24176

- - - - -
74b1f81b by Owen Shepherd at 2023-12-04T17:46:36+01:00
docs(NonEmpty/group): Remove incorrect haddock link quotes in code block

- - - - -
526bde57 by Owen Shepherd at 2023-12-04T17:46:36+01:00
docs(NonEmpty/group): Remove cycle from group haddock example

- - - - -
503920aa by Owen Shepherd at 2023-12-04T17:46:36+01:00
docs(NonEmpty/group): Use repl haddock syntax in group docs

- - - - -
4b8277ec by Owen Shepherd at 2023-12-04T17:46:36+01:00
docs(NonEmpty/group): Use list [] notation in group haddock

- - - - -
edfe9726 by Owen Shepherd at 2023-12-04T17:46:36+01:00
docs(NonEmpty/group): Specify final property of group function in haddock

- - - - -
098aa867 by Owen Shepherd at 2023-12-04T17:46:36+01:00
fix: Add missing property of List.group

- - - - -
fc626e32 by Matthew Pickering at 2023-12-04T17:46:36+01:00
testsuite: Fix T21097b test with make 4.1 (deb9)

cee81370cd6ef256f66035e3116878d4cb82e28b recently added a test which
failed on deb9 because the version of make was emitting the recipe
failure to stdout rather than stderr.

One way to fix this is to be more precise in the test about which part
of the output we care about inspecting.

- - - - -
cd3fc9e3 by Matthew Pickering at 2023-12-04T17:46:36+01:00
testsuite: Track size of libdir in bytes

For consistency it's better if we track all size metrics in bytes.

Metric Increase:
  libdir

- - - - -
e70f67e3 by Matthew Pickering at 2023-12-04T17:46:36+01:00
testsuite: Remove rogue trace in testsuite

I accidentally left a trace in the generics metric patch.

- - - - -
8d762a6d by Hassan Al-Awwadi at 2023-12-04T17:46:36+01:00
slightly more genera "withTimeLimit", which is good

- - - - -


30 changed files:

- compiler/GHC/CmmToLlvm/Data.hs
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Rename/Bind.hs
- compiler/GHC/Rename/Module.hs
- compiler/GHC/Tc/Gen/Bind.hs
- compiler/GHC/Tc/Gen/HsType.hs
- compiler/GHC/Tc/TyCl.hs
- compiler/GHC/Tc/TyCl/Class.hs
- compiler/GHC/Tc/TyCl/Instance.hs
- compiler/GHC/Tc/Utils/Env.hs
- compiler/GHC/Tc/Utils/Monad.hs
- distrib/configure.ac.in
- ghc/GHCi/UI.hs
- libraries/base/src/Data/List/NonEmpty.hs
- libraries/base/src/Data/OldList.hs
- testsuite/driver/testlib.py
- testsuite/tests/dependent/should_fail/T16326_Fail12.stderr
- testsuite/tests/driver/T21097b/T21097b.stdout
- testsuite/tests/driver/T21097b/all.T
- testsuite/tests/perf/compiler/T12545.hs
- testsuite/tests/perf/compiler/T13386.hs
- testsuite/tests/perf/compiler/T8095.hs
- testsuite/tests/perf/compiler/all.T
- − testsuite/tests/perf/size/Makefile
- testsuite/tests/perf/size/all.T
- testsuite/tests/printer/Test20297.stdout
- + testsuite/tests/vdq-rta/should_fail/T24176.hs
- + testsuite/tests/vdq-rta/should_fail/T24176.stderr
- testsuite/tests/vdq-rta/should_fail/all.T
- utils/check-exact/ExactPrint.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1082b52392938e42ec3a2e69f5d775dbebe92f01...8d762a6dc8c65e3dfb1626f54f30edaf31a6fd43

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1082b52392938e42ec3a2e69f5d775dbebe92f01...8d762a6dc8c65e3dfb1626f54f30edaf31a6fd43
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/20231204/851ddbe9/attachment.html>


More information about the ghc-commits mailing list