<!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>
David Eichmann pushed to branch wip/ghc-debug
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/efdb4afa78843a888d6b680ce8e7ac654481186c">efdb4afa</a></strong>
<div>
<span>by David Eichmann</span>
<i>at 2020-10-16T16:43:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add ghc-debug funcitons to the RTS API

Four new functions added to RtsAPI.h:

  * rts_pause and rts_resume allow an external process to completely
  pause and resume the RTS.
  * rts_listThreads and rts_listMiscRoots are used to find the current
  roots of the garbage collector.

These changes also mean that `Task.h` is exposed to the user.

Co-authored-by: Sven Tennie <sven.tennie@gmail.com>
Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com>
Co-authored-by: Ben Gamari <bgamari.foss@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/9966df61712b6488d13b366265186a7659dd8237">9966df61</a></strong>
<div>
<span>by David Eichmann</span>
<i>at 2020-10-16T16:43:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ghc-heap: expose decoding from heap representation and support partial TSO/STACK decoding

Co-authored-by: Sven Tennie <sven.tennie@gmail.com>
Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com>
Co-authored-by: Ben Gamari <bgamari.foss@gmail.com>
</pre>
</li>
</ul>
<h4>30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#5c66928780aaad0eb5888511dc4b0b08492c69fa">
compiler/GHC/ByteCode/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#efe7444c09eed0fdaa83e6904e6328fb435620bf">
compiler/GHC/Runtime/Interpreter.hs
</a>
</li>
<li class="file-stats">
<a href="#40f83a2cddcbc1f8190b0551eb572ccf4ea88cc9">
includes/Rts.h
</a>
</li>
<li class="file-stats">
<a href="#f7bfc5e15e7497f29b41f6df46865c151a07955d">
includes/RtsAPI.h
</a>
</li>
<li class="file-stats">
<a href="#99893b7261774f87ac87fca950780de32a092668">
<span class="new-file">
+
includes/rts/Task.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#0ea78c0eb38d298692960f63f47248f6464a0479">
includes/rts/storage/Closures.h
</a>
</li>
<li class="file-stats">
<a href="#6ee44ce9461008fa244623eb266f78f556eab112">
includes/rts/storage/Heap.h
</a>
</li>
<li class="file-stats">
<a href="#2f870b7c76a5e24010e464cc1a1f860c0f9e0dab">
includes/rts/storage/TSO.h
</a>
</li>
<li class="file-stats">
<a href="#06b370ff84e63d5f9d23a0e79846fa802f93dc44">
libraries/ghc-heap/GHC/Exts/Heap.hs
</a>
</li>
<li class="file-stats">
<a href="#314cd94f633689e4a18e0ccd7ff4324b0a58ac17">
libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
</a>
</li>
<li class="file-stats">
<a href="#d09b7ffd416447ebad2e2484b52a8ce790127d1e">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/FFIClosures.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#537c5016bbeab19a69604ff2c514165ed3d90e05">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/FFIClosures_ProfilingDisabled.hsc
</span>
</a>
</li>
<li class="file-stats">
<a href="#98411644869d99f22dc10668d48fc5d6692e4dd8">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/FFIClosures_ProfilingEnabled.hsc
</span>
</a>
</li>
<li class="file-stats">
<a href="#f8c89d5221aedc242eebbc2c764f8e5234c112cc">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/PeekProfInfo_ProfilingDisabled.hsc
</span>
</a>
</li>
<li class="file-stats">
<a href="#47c79b2e9cd3039de871866acd290eb3582b2804">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/PeekProfInfo_ProfilingEnabled.hsc
</span>
</a>
</li>
<li class="file-stats">
<a href="#96041b9a3dcd0d1c167bff80704bb9e49944488e">
<span class="new-file">
+
libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/Types.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#ac19c930d4b92f05bf72d56e69051aa9dda768d3">
libraries/ghc-heap/ghc-heap.cabal.in
</a>
</li>
<li class="file-stats">
<a href="#fa65ae997830b4920372dd3bb9ba68be117d777e">
<span class="new-file">
+
libraries/ghc-heap/tests/TestUtils.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#e7e177c17e4bf37dc865a39cde7a0ec9e1a33362">
libraries/ghc-heap/tests/all.T
</a>
</li>
<li class="file-stats">
<a href="#a1a274388cf6f872cf751e1b1303e10f77a40360">
<span class="new-file">
+
libraries/ghc-heap/tests/create_tso.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#4bc3fcfa03933824b9e2571ebf4749f452015d9a">
<span class="new-file">
+
libraries/ghc-heap/tests/create_tso.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#c805c26c0ac354f472155142f770fa502f8e772f">
<span class="new-file">
+
libraries/ghc-heap/tests/list_threads_and_misc_roots.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#a7ec2729a55e633ba395a16acda038a6d075afcd">
<span class="new-file">
+
libraries/ghc-heap/tests/list_threads_and_misc_roots_c.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#11b067e604bf03cc9a48388a7e17e63b4bf73abc">
<span class="new-file">
+
libraries/ghc-heap/tests/list_threads_and_misc_roots_c.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#93e0e613b76be12bf68ebce427873ca6f4cf6e51">
<span class="new-file">
+
libraries/ghc-heap/tests/parse_tso_flags.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#5b5b439543cf197398612a3792ce3e362c519eab">
<span class="new-file">
+
libraries/ghc-heap/tests/tso_and_stack_closures.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#ed5b77135b8d6077d6f77541d166d7b8fe93f9de">
libraries/ghci/GHCi/Message.hs
</a>
</li>
<li class="file-stats">
<a href="#fdd34ceb84d7b95dccbd9172ce507eaea9b5abd4">
libraries/ghci/GHCi/Run.hs
</a>
</li>
<li class="file-stats">
<a href="#33249795fee267712d5c3a7ecfa9f2edea260401">
rts/Capability.c
</a>
</li>
<li class="file-stats">
<a href="#7cd911ebab0f9f45be4a3d53fd5b4cb6cf96de6b">
rts/Heap.c
</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/616060eb6f35a9de4aaf4ab43ba41fa661e3ab27...9966df61712b6488d13b366265186a7659dd8237">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>