rts: print incorrect prev_what_next
[ghc.git] / rts / RtsSymbols.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 2000-2015
4 *
5 * RTS Symbols
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef RTS_SYMBOLS_H
10 #define RTS_SYMBOLS_H
11
12 #include "ghcautoconf.h"
13 #include "LinkerInternals.h"
14 #include <stdbool.h>
15
16 #ifdef LEADING_UNDERSCORE
17 #define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)
18 #else
19 #define MAYBE_LEADING_UNDERSCORE_STR(s) (s)
20 #endif
21
22 typedef struct _RtsSymbolVal {
23 const SymbolName* lbl;
24 SymbolAddr* addr;
25 bool weak;
26 } RtsSymbolVal;
27
28 extern RtsSymbolVal rtsSyms[];
29
30 #endif /* RTS_SYMBOLS_H */