<!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;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";'>
<div class="content">
<h3 style="margin-top: 20px; margin-bottom: 10px;">
Ben Gamari pushed to branch wip/exception-context
at <a href="https://gitlab.haskell.org/ghc/ghc" style="color: #1068bf; text-decoration: none;">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/c3697c5bf1d651c8db71928ccb00c4552bab6ffc" style="color: #1068bf; text-decoration: none;">c3697c5b</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T15:52:58-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Move CString, CStringLen to GHC.Foreign
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/25a231bf211c86da7043e9e81d7db1132624358a" style="color: #1068bf; text-decoration: none;">25a231bf</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T15:52:58-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Move IPE helpers to GHC.InfoProv
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/eb7b8dab69c6740af8ce40f74c28893cf5dab334" style="color: #1068bf; text-decoration: none;">eb7b8dab</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T15:52:58-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>rts: Refactor IPE tracing support
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/111b8492e6fb3d68c605d47078fd5ca0491cf961" style="color: #1068bf; text-decoration: none;">111b8492</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T15:52:58-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Refactor IPE initialization
Here we refactor the representation of info table provenance information
in object code to significantly reduce its size and link-time impact.
Specifically, we deduplicate strings and represent them as 32-bit
offsets into a common string table.
In addition, we rework the registration logic to eliminate allocation
from the registration path, which is run from a static initializer where
things like allocation are technically undefined behavior (although it
did previously seem to work). For similar reasons we eliminate lock
usage from registration path, instead relying on atomic CAS.
Closes #22077.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/dafb357befbd39f54b2d16cff89e32845fc187ff" style="color: #1068bf; text-decoration: none;">dafb357b</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:03:24-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Separate IPE source file from span
The source file name can very often be shared across many IPE entries
whereas the source coordinates are generally unique. Separate the two to
exploit sharing of the former.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/2fcdff1716cd107677e7b7cc7a5b1736bd669fd8" style="color: #1068bf; text-decoration: none;">2fcdff17</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Move PrimMVar to GHC.MVar
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/cb4726dff33b3a121586799c50581e30500257e3" style="color: #1068bf; text-decoration: none;">cb4726df</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Clean up imports of GHC.ExecutionStack
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/44f3c0419879185d383defd84332dfa3f5457e0c" style="color: #1068bf; text-decoration: none;">44f3c041</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Clean up imports of GHC.Stack.CloneStack
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/0171e8cd633a4366e44f02e77aae65b18c6e649a" style="color: #1068bf; text-decoration: none;">0171e8cd</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Introduce exception context
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/c895735d736958f98926d470d1257efc37a77058" style="color: #1068bf; text-decoration: none;">c895735d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Collect backtraces in GHC.IO.throwIO
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/f1016ce41cc8735d986f2668268b9adf342c73e7" style="color: #1068bf; text-decoration: none;">f1016ce4</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:13-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Collect backtraces in GHC.Exception.throw
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/62d59127006f5c0cdf7e8148bce024d91bed378a" style="color: #1068bf; text-decoration: none;">62d59127</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:13-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Pretty IPE
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/3c942439b4235c49fa70e8a0e7783818b7ae1daf" style="color: #1068bf; text-decoration: none;">3c942439</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:13-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>base: Move prettyCallStack to GHC.Stack
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/e40913c0a2494b66314e0859f3502bbc982e05c1" style="color: #1068bf; text-decoration: none;">e40913c0</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:13-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Fix
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/53f5367e9f221be99a6c7b81ff60171bcbc59a82" style="color: #1068bf; text-decoration: none;">53f5367e</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2022-08-19T17:08:13-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Formatting
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#db697f6aea9f93f1583f1d5c62d25570a1e07f73" style="color: #1068bf; text-decoration: none;">
compiler/GHC/Cmm/CLabel.hs
</a>
</li>
<li class="file-stats">
<a href="#71e696f452eb493722d70306c6f304fc9b2f6a95" style="color: #1068bf; text-decoration: none;">
compiler/GHC/Cmm/Parser.y
</a>
</li>
<li class="file-stats">
<a href="#9df7e695170800345fb44916a8e8f4b8f3c55be0" style="color: #1068bf; text-decoration: none;">
compiler/GHC/Driver/CodeOutput.hs
</a>
</li>
<li class="file-stats">
<a href="#9a679a2680ef6061397f1987091ea9f96ffe095d" style="color: #1068bf; text-decoration: none;">
compiler/GHC/Driver/Main.hs
</a>
</li>
<li class="file-stats">
<a href="#474afbd1996fa06b8bc9410a2805103be57860f7" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
compiler/GHC/StgToCmm/InfoTableProv.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#8390b439f37437a2642e4e31bd6e7e91438915d1" style="color: #1068bf; text-decoration: none;">
compiler/GHC/StgToCmm/Prof.hs
</a>
</li>
<li class="file-stats">
<a href="#0f33fd88c617246c7f89c4477d2d1d24f942df23" style="color: #1068bf; text-decoration: none;">
compiler/ghc.cabal.in
</a>
</li>
<li class="file-stats">
<a href="#ec3a110ebba35a2ac78897f655d6cd55fc4b11cc" style="color: #1068bf; text-decoration: none;">
libraries/base/Foreign/C/String.hs
</a>
</li>
<li class="file-stats">
<a href="#484e50173b324b5842d294580ec9ed8a7b0d5d38" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Conc/Sync.hs
</a>
</li>
<li class="file-stats">
<a href="#929bd0ab1819f50a965ae7ee6f28c2def1054cc8" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Exception.hs
</a>
</li>
<li class="file-stats">
<a href="#7cfcb0b96abd4b74bc589a307600d5b086f2de9f" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/Exception/Backtrace.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#f2770d22c9f7ba87d4d0d9b2900286042724bb08" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/Exception/Backtrace.hs-boot
</span>
</a>
</li>
<li class="file-stats">
<a href="#c02b12166960d7367ddbc558a80106f2126996a9" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/Exception/Context.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#81875dba753b19550a8d4f960f1eaa5e413e26b8" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/Exception/Context.hs-boot
</span>
</a>
</li>
<li class="file-stats">
<a href="#6e8212240e47488bd66c7d99dad261a46bf6631a" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Exception/Type.hs
</a>
</li>
<li class="file-stats">
<a href="#b85a82e94e17171283d2128ceab8ebfac92a3c39" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/ExecutionStack.hs
</a>
</li>
<li class="file-stats">
<a href="#b25484090f71623288feda27dab8159550225c99" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/ExecutionStack.hs-boot
</span>
</a>
</li>
<li class="file-stats">
<a href="#0f60c2c2fcc269f7374b8e91c8131396850b37aa" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/ExecutionStack/Internal.hsc
</a>
</li>
<li class="file-stats">
<a href="#0cba8cd0b4d1e9b852fcc660e75a3175bc5d2f8a" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Foreign.hs
</a>
</li>
<li class="file-stats">
<a href="#36b8946721cfafb20918a66b3ffb21b3a4c37935" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/IO.hs
</a>
</li>
<li class="file-stats">
<a href="#b38856d310248d4769bfaa6042cdc64d01b27ee0" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/InfoProv.hsc
</span>
</a>
</li>
<li class="file-stats">
<a href="#c866a27ab01bf0a002d764b5e1ee5f0d6b2dd634" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/MVar.hs
</a>
</li>
<li class="file-stats">
<a href="#16a13777c8eded182bde3f937020517cfe920930" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Stack.hs
</a>
</li>
<li class="file-stats">
<a href="#7933e581b960dd986dbabb9fbde2645bcdad01be" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Stack/CCS.hs-boot
</a>
</li>
<li class="file-stats">
<a href="#f0c9eb35f5d8b0735521d0fc3130910ca414d528" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Stack/CCS.hsc
</a>
</li>
<li class="file-stats">
<a href="#9cc5887db9e4af2e8d686d9953728d48fd50dd64" style="color: #1068bf; text-decoration: none;">
libraries/base/GHC/Stack/CloneStack.hs
</a>
</li>
<li class="file-stats">
<a href="#9a5625c8150e43f568b4e0c0389a2805d75777e9" style="color: #1068bf; text-decoration: none;">
<span class="new-file">
+
libraries/base/GHC/Stack/CloneStack.hs-boot
</span>
</a>
</li>
<li class="file-stats">
<a href="#b7cfb47853ef95330e499ca0c5b90964744d101f" style="color: #1068bf; text-decoration: none;">
libraries/base/base.cabal
</a>
</li>
<li class="file-stats">
<a href="#200c4c756172f6b340836fe30c1d59fde1d17523" style="color: #1068bf; text-decoration: none;">
rts/IPE.c
</a>
</li>
<li class="file-stats">
<a href="#260aaa1045176812c4f20ed18734479ba43bbbe6" style="color: #1068bf; text-decoration: none;">
rts/IPE.h
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: 0.875rem;">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: #666;">
—
<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/b5d9acb1e7a5cba4a510eae4fe9ee7ad22439b46...53f5367e9f221be99a6c7b81ff60171bcbc59a82" style="color: #1068bf; text-decoration: none;">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>