23cd6d8aa4a2bc65aeaa0062636d07eeb19dd104
[ghc-hetmet.git] / ghc / rts / Printer.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2000
4  *
5  * Prototypes for functions in Printer.c
6  *
7  * ---------------------------------------------------------------------------*/
8
9 extern void        printPtr        ( StgPtr p );
10 extern void        printObj        ( StgClosure *obj );
11
12 #ifdef DEBUG
13 extern void        printClosure    ( StgClosure *obj );
14 extern StgStackPtr printStackObj   ( StgStackPtr sp );
15 extern void        printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
16 extern void        printTSO        ( StgTSO *tso );
17
18 void               info_hdr_type   ( StgClosure *closure, char *res );
19 char  *            info_type       ( StgClosure *closure );
20 char  *            info_type_by_ip ( StgInfoTable *ip );
21
22 extern void DEBUG_LoadSymbols( char *name );
23
24 extern const char *lookupGHCName( void *addr );
25 #endif