- 13 Jun, 2019 3 commits
-
-
Ben Gamari authored
-
Ben Gamari authored
Merge branches 'wip/backport-MR1137', 'wip/backport-MR1139', 'wip/backport-MR1160', 'wip/backport-MR706' and 'wip/backport-MR769' into wip/ghc-8.8-merges
-
Ben Gamari authored
-
- 12 Jun, 2019 15 commits
-
-
Ben Gamari authored
The PLT needs to be located within a close distance of the code calling it under the small memory model. Fixes #16784. (cherry picked from commit 0b7f81f5)
-
Ben Gamari authored
Fixes #15208. [skip ci] (cherry picked from commit 9b4ff57d)
-
Ben Gamari authored
This fixes a regression, introduced by 67c422ca, where we mprotect'd the global offset table (GOT) region to PROT_READ before we had finished filling it, resulting in a linker crash. Fixes #16779. (cherry picked from commit 217e6db4)
-
Ben Gamari authored
(cherry picked from commit bbc752c5)
-
Phuong Trinh authored
We are iterating through all object code for each heap objects when checking whether object code can be unloaded. For large projects in GHCi, this can be very expensive due to the large number of object code that needs to be loaded/unloaded. To speed it up, this arrangess all mapped sections of unloaded object code in a sorted array and use binary search to check if an address location fall on them. (cherry picked from commit f81f3964)
-
Takenobu Tani authored
To cover ci conditions from ghc8.6 to 8.9, I add `-haddock` option to `.circleci/prepare-system.sh` and .gitlab-ci.yml. after including `mk/flavours/*`. (cherry picked from commit c4f94320)
-
Takenobu Tani authored
To cover ci conditions from ghc8.6 to 8.9, I add `-haddock` option to `mk/flavours/perf.mk` rather than `.circleci/prepare-system.sh`. Because in windows condition of ghc-8.9, `mk/flavours/*` is included after `prepare-system.sh`. In addition, in linux condition of ghc-8.6, `mk/flavors/perf.mk` is used. (cherry picked from commit 43a39c3c)
-
Takenobu Tani authored
In order to use the `:doc` command in ghci, it is necessary to compile for core libraries with `-haddock` option. Especially, the `-haddock` option is essential for release building. Note: * The `-haddock` option may affect compile time and binary size. * But hadrian has already set `-haddock` as the default. * This patch affects the make-based building. This patch has been split from !532. (cherry picked from commit 33e37d06)
-
Ben Gamari authored
As noted in #16555. (cherry picked from commit 64b1684da09ddb3dc480bd0370adc7b002657a39)
-
Ben Gamari authored
(cherry picked from commit 658199cce0aabeed77f3bbbbde6abc0c5c3cc83d)
-
Ben Gamari authored
As noted in #16536. (cherry picked from commit b351004702c1a595bcedfa3ffeb4f816d5fd8503)
-
Ben Gamari authored
As noted in #16224, CPUTime001 has been quite problematic, reporting non-monotonic timestamps in CI. Unfortunately I've been unable to reproduce this locally. (cherry picked from commit 1a3420ca)
-
Ben Gamari authored
See #15382. (cherry picked from commit 23fc6156)
-
Ben Gamari authored
(cherry picked from commit 910185a3)
-
Ben Gamari authored
Now since we have been a bit more stringent in testsuite cleanliness we have been marking a lot of tests as fragile using the `skip` modifier. However, this unfortunately means that we lose the association with the ticket number documenting the fragility. Here we introduce `fragile` and `fragile_for` to retain this information. (cherry picked from commit 4ca271d1)
-
- 09 Jun, 2019 2 commits
-
-
Ben Gamari authored
-
Ben Gamari authored
-
- 05 Jun, 2019 2 commits
-
-
Ben Gamari authored
-
Ben Gamari authored
-
- 04 Jun, 2019 18 commits
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
Missing from f8d24178.
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
Merge branch 'wip/backport-ecc9366a' of https://gitlab.haskell.org/RyanGlScott/ghc into wip/ghc-8.8-merges
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
Due to #16604.
-
Michael Sloan authored
See #13101 and #15454 (cherry picked from commit 64959e51bf17a9f991cc345476a40515e7b32d81)
-
Michael Sloan authored
See #13101 + #15454 for motivation. This change reduces the number of modules that need to be compiled to object code when loading GHC into GHCi. (cherry picked from commit c01d5af3)
-
Michael Sloan authored
Also removes a couple unnecessary MagicHash pragmas (cherry picked from commit 061276ea)
-
Michael Sloan authored
This commit splits out a subset of GhcException which do not depend on pretty printing (SDoc), as a new datatype called PlainGhcException. These exceptions can be caught as GhcException, because 'fromException' will convert them. The motivation for this change is that that the Panic module transitively depends on many modules, primarily due to pretty printing code. It's on the order of about 130 modules. This large set of dependencies has a few implications: 1. To avoid cycles / use of boot files, these dependencies cannot throw GhcException. 2. There are some utility modules that use UnboxedTuples and also use `panic`. This means that when loading GHC into GHCi, about 130 additional modules would need to be compiled instead of interpreted. Splitting the non-pprint exception throwing into a new module resolves this issue. See #13101 (cherry picked from commit fe9034e9b4820214a8c703bd8a3146ce6eed37b8)
-
Michael Sloan authored
The idea is to automatically enable -fobject-code for modules that use UnboxedTuples, along with all the modules they depend on. When looking into how to solve this, I was pleased to find that there was already highly similar logic for enabling code generation when -fno-code is specified but TemplateHaskell is used. The state before this patch was that if you used unboxed tuples then you had to enable `-fobject-code` globally rather than on a per module basis.
-