- 11 Jan, 2021 3 commits
-
-
Benjamin Maurer authored
-
Benjamin Maurer authored
-
Sebastian Graf authored
Since !4493 we annotate top-level bindings with demands, which leads to novel opportunities for thunk splitting absent top-level thunks. It turns out that thunk splitting wasn't quite equipped for that, because it re-used top-level, `External` Names for local helper Ids. That triggered a CoreLint error (#19180), reproducible with `T19180`. Fixed by adjusting the thunk splitting code to produce `SysLocal` names for the local bindings. Fixes #19180. Metric Decrease: T12227 T18282
-
- 10 Jan, 2021 21 commits
-
-
John Ericson authored
This is is correcting a mistake I unfortunately missed in !4698. But that is a recent PR so this fix is not a compatibility hazard with released versions of GHC.
-
Oleg Grenrus authored
-
Nick Erdmann authored
The ccall calling convention doesn't support varargs functions, so switch to capi instead. See https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/ffi.html#varargs-not-supported-by-ccall-calling-convention
-
Ben Gamari authored
As noted in #19179, conc059 can sometimes fail due to too short of a delay in the its Haskell threads. Address this by increasing the delay by an order of magnitude to 5 seconds. While I'm in town I refactored the test to eliminate a great deal of unnecessary platform dependence, eliminate use of the deprecated usleep, and properly handle interruption by signals. Fixes #19179.
-
Sylvain Henry authored
-
Greg Steuck authored
-
Greg Steuck authored
-
Ben Gamari authored
We don't run the testsuite in cross-compiled builds so there is nothing to push.
-
Ben Gamari authored
Previously lookupSymbol_PEi386 would call lookupSymbol while holding linker_mutex. Fix this by rather calling `lookupDependentSymbol`. This is safe because lookupSymbol_PEi386 unconditionally holds linker_mutex. Happily, this un-breaks `T12771`, `T13082_good`, and `T14611`, which were previously marked as broken due to #18718. Closes #19155.
-
Ben Gamari authored
When checking n_returning_tasks.
-
Ben Gamari authored
These are the two remaining non-atomic accesses to `wakeup` which were missed by the original TSAN patch.
-
Ben Gamari authored
This check is merely a service to the user; no reason to synchronize.
-
Douglas Wilson authored
-
Douglas Wilson authored
Solves #19147. When n_capabilities > 1 we were not correctly accounting for gc time for sequential collections. In this case par_n_gcthreads == 1, however it is not guaranteed that the single gc thread is capability 0. A similar issue for copied is addressed as well.
-
vdukhovni authored
- Further correction and reconcialation with new overview of the existing synopses. Restored some "Tree" examples. - New section on generative recursion via Church encoding of lists.
-
vdukhovni authored
- Renamed new "update function" to "operator" from synopses - More accurate divergence conditions. - Fewer references to the Tree structure in examples, which may not have the definition close-by in context in other modules, e.g. Prelude. - Improved description of foldlM and foldrM - More detail on Tree instance construction - Misc fixes
-
vdukhovni authored
-
vdukhovni authored
Also updated stale external URL in Traversable
-
Richard Eisenberg authored
See Note [Error on unconstrained meta-variables] in TcMType. Close #17301 Close #17567 Close #17562 Close #15474
-
Ben Gamari authored
ghcconfig.h, which depends upon ghcautoconf.h, and is a runtime dependency of deriveConstants. This is essentially a continuation of #18290.
-
Alfredo Di Napoli authored
This commit removes the errShortString field from the ErrMsg type, allowing us to cleanup a lot of dynflag-dependent error functions, and move them in a more specialised 'GHC.Driver.Errors' closer to the driver, where they are actually used. Metric Increase: T4801 T9961
-
- 07 Jan, 2021 14 commits
-
-
Sylvain Henry authored
-
Ben Gamari authored
* Mention changed in profiler's treatment of PINNED closures * Fix formatting * Move plugins-relevant changes to GHC API section
-
Ben Gamari authored
The weak pointer check in `checkGenWeakPtrList` previously failed to account for dead weak pointers. This caused `fptr01` to fail in the `sanity` way. Fixes #19162.
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
The refactoring in ed57c3a9 failed to initialize this field, resulting in no exports being registered. A very silly bug and yet somehow none of our tests caught it. See #18548. Fixes #19149.
-
Roland Senn authored
For interactive evaluations set the field `DynFlags.dumpPrefix` to the GHCi internal module name. The GHCi module name for an interactive evaluation is something like `Ghci9`. To avoid user confusion, don't dump any data for GHCi internal evaluations. Extend the comment for `DynFlags.dumpPrefix` and fix a little typo in a comment about the GHCi internal module names.
-
John Ericson authored
Progress towards #19026. The type was added before, but not its primops. We follow the conventions in 36fcf9ed and 2c959a18 for names and testing. Along with the previous 8- and 16-bit primops, this will allow us to avoid many conversions for 8-, 16-, and 32-bit sized numeric types. Co-authored-by:
Sylvain Henry <hsyl20@gmail.com>
-
Ben Gamari authored
This flag requires that there be no space between the filename and the argument.
-
Ben Gamari authored
As noted in #9666, the mark-region GC is not compatible with heap profiling. Also add documentation for this flag. Closes #9666.
-
Ben Gamari authored
But only when profiling or DEBUG are enabled. Fixes #17572.
-
Ben Gamari authored
This is necessary since the user may enable `+RTS -hT` at any time.
-
Ben Gamari authored
It turns out that this was fairly straightforward to implement since we are now pretty careful about zeroing slop.
-
Ben Gamari authored
Move the logic for taking censuses of "normal" and pinned blocks to their own functions.
-
- 05 Jan, 2021 1 commit
-
-
Sylvain Henry authored
Before this patch the compiler depended on the RTS way (threaded or not) to use atomic incrementation or not. This is wrong because the RTS is supposed to be switchable at link time, without recompilation. Now we always use atomic incrementation of the unique counter.
-
- 03 Jan, 2021 1 commit
-
-
John Ericson authored
I'm not sure how long the submodule dance is going to take, sadly, so I'd like to chip away at things in the meantime / avoid conflicts.
-