summaryrefslogtreecommitdiff
path: root/rts/Printer.h
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omer@well-typed.com>2019-02-05 00:37:57 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-05 22:28:45 -0500
commit23342e1f06204a4853a6b191bf0960d2c2baf457 (patch)
tree4d81405f5df529be8236c01dfb6e187966712cdb /rts/Printer.h
parent37f257afcd6a52cf4d76c60d766b1aeb520b9f05 (diff)
downloadhaskell-23342e1f06204a4853a6b191bf0960d2c2baf457.tar.gz
rts/Printer: Introduce a few more printing utilities
These include printLargeAndPinnedObjects, printWeakLists, and printStaticObjects. These are generally useful things to have.
Diffstat (limited to 'rts/Printer.h')
-rw-r--r--rts/Printer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/Printer.h b/rts/Printer.h
index d2eaf010c6..44c55de3d6 100644
--- a/rts/Printer.h
+++ b/rts/Printer.h
@@ -25,6 +25,9 @@ extern void printClosure ( const StgClosure *obj );
extern void printStackChunk ( StgPtr sp, StgPtr spLim );
extern void printTSO ( StgTSO *tso );
extern void printMutableList( bdescr *bd );
+extern void printStaticObjects ( StgClosure *obj );
+extern void printWeakLists ( void );
+extern void printLargeAndPinnedObjects ( void );
extern void DEBUG_LoadSymbols( const char *name );