[Git][ghc/ghc][wip/ghc-debug] Add comment

Sven Tennie gitlab at gitlab.haskell.org
Fri Jun 5 05:56:16 UTC 2020



Sven Tennie pushed to branch wip/ghc-debug at Glasgow Haskell Compiler / GHC


Commits:
c3e26135 by Sven Tennie at 2020-06-05T07:56:06+02:00
Add comment

- - - - -


1 changed file:

- libraries/ghc-heap/tests/tso_and_stack_closures.hs


Changes:

=====================================
libraries/ghc-heap/tests/tso_and_stack_closures.hs
=====================================
@@ -18,6 +18,9 @@ foreign import ccall unsafe "create_tso.h create_tso"
 -- (which is a primop that expects a pointer to a closure).
 data FoolStgTSO
 
+-- We can make some assumptions about the - otherwise dynamic - properties of
+-- StgTSO and StgStack, because a new, non-running TSO is created with
+-- create_tso() (create_tso.c).create_tso
 main :: IO ()
 main = do
     tso <- createTSOClosure



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c3e26135fd7832175f329d7d2587d8cf68ecff03

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c3e26135fd7832175f329d7d2587d8cf68ecff03
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200605/e81f04a2/attachment.html>


More information about the ghc-commits mailing list