blob: 689c2f8d4a7bc883748098c97b955dde9489d0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2005
*
* Prototypes for functions in Printer.c
*
* ---------------------------------------------------------------------------*/
#ifndef PRINTER_H
#define PRINTER_H
extern void printPtr ( StgPtr p );
extern void printObj ( StgClosure *obj );
#ifdef DEBUG
extern void prettyPrintClosure (StgClosure *obj);
extern void printClosure ( StgClosure *obj );
extern StgStackPtr printStackObj ( StgStackPtr sp );
extern void printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
extern void printTSO ( StgTSO *tso );
void info_hdr_type ( StgClosure *closure, char *res );
char * info_type ( StgClosure *closure );
char * info_type_by_ip ( StgInfoTable *ip );
extern void DEBUG_LoadSymbols( char *name );
extern const char *lookupGHCName( void *addr );
#endif
#endif /* PRINTER_H */
|