Files
mercury/runtime/mercury_agc_debug.h
Zoltan Somogyi d1c13d57c5 Fix some layout issues in these files. There are no algorithmic
Estimated hours taken: 0.3
Branches: main

runtime/mercury_accurate_gc.h:
runtime/mercury_agc_debug.h:
runtime/mercury_array_macros.h:
runtime/mercury_construct.h:
runtime/mercury_deconstruct.h:
runtime/mercury_init.h:
runtime/mercury_layout_util.h:
runtime/mercury_stack_layout.h:
runtime/mercury_stack_trace.h:
runtime/mercury_trail.h:
	Fix some layout issues in these files. There are no algorithmic
	changes.
2005-06-21 03:12:03 +00:00

58 lines
1.7 KiB
C

/*
** Copyright (C) 1998, 2000, 2005 The University of Melbourne.
** This file may only be copied under the terms of the GNU Library General
** Public License - see the file COPYING.LIB in the Mercury distribution.
*/
#ifndef MERCURY_AGC_DEBUG_H
#define MERCURY_AGC_DEBUG_H
/*
** mercury_agc_debug.h -
** Debugging support for accurate garbage collection.
*/
#include "mercury_regs.h" /* needs to come first */
#include "mercury_types.h" /* for MR_Word */
#include "mercury_label.h" /* for MR_Internal */
#include "mercury_memory_zones.h" /* for MR_MemoryZone */
#include "mercury_accurate_gc.h" /* for MR_RootList */
/*---------------------------------------------------------------------------*/
/*
** MR_agc_dump_stack_frames:
** Dump the det stack, writing all information available about each
** stack frame.
**
** label is the topmost label on the stack, heap_zone is the zone
** which the data is stored upon.
*/
extern void MR_agc_dump_stack_frames(MR_Internal *label,
MR_MemoryZone *heap_zone,
MR_Word *stack_pointer, MR_Word *current_frame);
/*
** MR_agc_dump_nondet_stack_frames:
** Dump the nondet stack, writing all information available about each
** stack frame.
**
** label is the topmost label on the stack, heap_zone is the zone
** which the data is stored upon.
*/
extern void MR_agc_dump_nondet_stack_frames(MR_Internal *label,
MR_MemoryZone *heap_zone, MR_Word *stack_pointer,
MR_Word *current_frame, MR_Word *max_frame);
/*
** MR_agc_dump_roots:
** Dump the extra rootset, writing all information about each root.
*/
extern void MR_agc_dump_roots(MR_RootList roots);
/*---------------------------------------------------------------------------*/
#endif /* not MERCURY_AGC_DEBUG_H */