[Git][ghc/ghc][master] Fix a pointer format string in RTS

Marge Bot gitlab at gitlab.haskell.org
Thu Apr 2 05:47:34 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
0a88dd11 by Ömer Sinan Ağacan at 2020-04-02T01:47:25-04:00
Fix a pointer format string in RTS

- - - - -


1 changed file:

- rts/sm/GC.c


Changes:

=====================================
rts/sm/GC.c
=====================================
@@ -1976,7 +1976,7 @@ void gcCAFs(void)
         // This condition identifies CAFs that have just been GC'd and
         // don't have static_link==3 which means they should be ignored.
         if ((((StgWord)(p->static_link)&STATIC_BITS) | prev_static_flag) != 3) {
-            debugTrace(DEBUG_gccafs, "CAF gc'd at 0x%p", p);
+            debugTrace(DEBUG_gccafs, "CAF gc'd at %p", p);
             SET_INFO((StgClosure*)p,&stg_GCD_CAF_info); // stub it
             if (prev == NULL) {
                 debug_caf_list = (StgIndStatic*)p->saved_info;



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0a88dd11594b8d8fd20500d026e657a5f99dfdd2
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/20200402/c8390e3f/attachment.html>


More information about the ghc-commits mailing list