<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<h3>
Sven Tennie pushed to branch wip/stack_cloning
at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/e2c4a94708e4d8789ce97bd8b034e62f0e8b81c6">e2c4a947</a></strong>
<div>
<span>by Vladislav Zavialov</span>
<i>at 2020-10-21T16:00:30+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Parser regression tests, close #12862 #12446

These issues were fixed by earlier parser changes, most likely related
to whitespace-sensitive parsing.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/711929e6bcbcd5439dbf748cb57f56088b9a9f16">711929e6</a></strong>
<div>
<span>by Simon Peyton Jones</span>
<i>at 2020-10-23T02:42:59-04:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix error message location in tcCheckPatSynDecl

Ticket #18856 showed that we were failing to set the right location
for an error message.  Easy to fix, happily.

Turns out that this also improves the error location in test T11010,
which was bogus before but we had never noticed.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/730bb59086ad1036143983c3fba61bd851bebc03">730bb590</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2020-10-23T02:43:33-04:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cmm: Add Note reference to ForeignHint</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/d1da7d7da23b62719346cf79695664de694cb8b3">d1da7d7d</a></strong>
<div>
<span>by Sven Tennie</span>
<i>at 2020-10-25T12:48:17+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add cloneThreadStack, cloneMyStack and printStack (#18741)

These functions clone the stack of either another thread (cloneThreadStack) or
the currently active one (cloneMyStack). printStack prints a cloned stack.

A cloned stack is offline/cold, i.e. it isn't evaluated any further.

The stack is represented by a new primtype (StackSnapshot#) in Haskell.

For technical details, please see note [Stack Cloning].
</pre>
</li>
</ul>
<h4>30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#0887cf39c5cdf9cf8d6758f410d7dab3023c0d77">
compiler/GHC/Builtin/Names.hs
</a>
</li>
<li class="file-stats">
<a href="#8a5cd068459120cddf3814e7b9e02003b87647ba">
compiler/GHC/Builtin/Types/Prim.hs
</a>
</li>
<li class="file-stats">
<a href="#451725cc4e5d443a3b7c2adcdf224840f953b7e2">
compiler/GHC/Builtin/primops.txt.pp
</a>
</li>
<li class="file-stats">
<a href="#7296b8b156359e17fb0fad7b82eaee2db3294144">
compiler/GHC/Cmm/Type.hs
</a>
</li>
<li class="file-stats">
<a href="#d12a108e34fe83acc9c99357ae841e22a0af0a23">
compiler/GHC/StgToCmm/Prim.hs
</a>
</li>
<li class="file-stats">
<a href="#5c0a7f8291c984f0fc06f59e7cf10dbecc11598b">
compiler/GHC/Tc/TyCl/PatSyn.hs
</a>
</li>
<li class="file-stats">
<a href="#83ce14fddc78597d9a56ef5c600f34f0dd4497c1">
<span class="new-file">
+
includes/rts/PrinterAPI.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#0ea78c0eb38d298692960f63f47248f6464a0479">
includes/rts/storage/Closures.h
</a>
</li>
<li class="file-stats">
<a href="#89ed911ca15ec0db941eb82e8d7df8453f4ab713">
includes/stg/MiscClosures.h
</a>
</li>
<li class="file-stats">
<a href="#484e50173b324b5842d294580ec9ed8a7b0d5d38">
libraries/base/GHC/Conc/Sync.hs
</a>
</li>
<li class="file-stats">
<a href="#9cc5887db9e4af2e8d686d9953728d48fd50dd64">
<span class="new-file">
+
libraries/base/GHC/Stack/CloneStack.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#b7cfb47853ef95330e499ca0c5b90964744d101f">
libraries/base/base.cabal
</a>
</li>
<li class="file-stats">
<a href="#864e56410efaa16e354282a06a222376524fc186">
<span class="new-file">
+
rts/CloneStack.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#b0baad6a4b3ea9e8bb4438f46afb74f1ca6f5638">
<span class="new-file">
+
rts/CloneStack.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#87638814ef9de368050a20abe04776c25ee3f6cf">
rts/Disassembler.c
</a>
</li>
<li class="file-stats">
<a href="#13677da1d9bfe82dbe8d4a947013f50a5b50bc10">
rts/Disassembler.h
</a>
</li>
<li class="file-stats">
<a href="#63bb2dcb45bf7982130b0b95ecf366bf1a617e82">
rts/Messages.c
</a>
</li>
<li class="file-stats">
<a href="#6db965f97cbab901f493506a385bcf1283009921">
rts/PrimOps.cmm
</a>
</li>
<li class="file-stats">
<a href="#1f366bc5cc9fea123d6a6ab6c25b1483994867d5">
rts/Printer.c
</a>
</li>
<li class="file-stats">
<a href="#084edb42735a765a977db3713b293347089e6c3b">
rts/Printer.h
</a>
</li>
<li class="file-stats">
<a href="#16c842a51a135c8ef2c7c7f94336544868348a3c">
rts/RtsSymbols.c
</a>
</li>
<li class="file-stats">
<a href="#6ca006a5d6dfdfdb97d0dd72db322e3f6eaa6214">
rts/StgMiscClosures.cmm
</a>
</li>
<li class="file-stats">
<a href="#2ab80221ce99aa96a346b29d4e98230cf4d915a7">
rts/package.conf.in
</a>
</li>
<li class="file-stats">
<a href="#e432c7b248b68100c3cc37db36ee80d975efd697">
rts/rts.cabal.in
</a>
</li>
<li class="file-stats">
<a href="#6cb660e388d6f04fc8615b657843dc8897fb7aa5">
<span class="new-file">
+
testsuite/tests/parser/should_compile/T12862.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#a43397658ba43ce6747320867b3a0330bcea2ea5">
testsuite/tests/parser/should_compile/all.T
</a>
</li>
<li class="file-stats">
<a href="#c5214fa4e2bc6cb67092cf4682f2a4189b608548">
<span class="new-file">
+
testsuite/tests/parser/should_fail/T12446.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#768046761ffe29b225df0c627b5baeab3e631ce9">
<span class="new-file">
+
testsuite/tests/parser/should_fail/T12446.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#3577fc796b73fe1f96c77f05fcdd73a8d4bc6f66">
testsuite/tests/parser/should_fail/all.T
</a>
</li>
<li class="file-stats">
<a href="#31dd222895d4f077f4769c6b6b7302983c4402e7">
testsuite/tests/patsyn/should_fail/T11010.stderr
</a>
</li>
</ul>
<h5>The diff was not included because it is too large.</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/1b4a4ba9a7ba95acc2beb8d9c6ce7554eba3416f...d1da7d7da23b62719346cf79695664de694cb8b3">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.haskell.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.



</p>
</div>
</body>
</html>