133
133
/* PRINT_CALL_CHAIN prints the call chain stored in an object */
134
134
/* to stderr. It requires that we do not hold the lock. */
136
139
# define ADD_CALL_CHAIN(base, ra) GC_save_callers(((oh *)(base)) -> oh_ci)
137
140
# define PRINT_CALL_CHAIN(base) GC_print_callers(((oh *)(base)) -> oh_ci)
140
144
# define ADD_CALL_CHAIN(base, ra) ((oh *)(base)) -> oh_ci[0].ci_pc = (ra)
141
145
# define PRINT_CALL_CHAIN(base) GC_print_callers(((oh *)(base)) -> oh_ci)
143
147
# define ADD_CALL_CHAIN(base, ra)
144
148
# define PRINT_CALL_CHAIN(base)