diff options
author | Ömer Sinan Ağacan <omer@well-typed.com> | 2019-02-05 00:37:57 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-05 22:28:45 -0500 |
commit | 23342e1f06204a4853a6b191bf0960d2c2baf457 (patch) | |
tree | 4d81405f5df529be8236c01dfb6e187966712cdb /rts/Printer.h | |
parent | 37f257afcd6a52cf4d76c60d766b1aeb520b9f05 (diff) | |
download | haskell-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.h | 3 |
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 ); |