blob: 2e908279bfa52e1ab7f34709b5ef5dde4e276133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* -----------------------------------------------------------------------------
*
* (c) The University of Glasgow 2006-2017
*
* Introspection into GHC's heap representation
*
* ---------------------------------------------------------------------------*/
#pragma once
#include "rts/storage/Closures.h"
StgMutArrPtrs *heap_view_closurePtrs(Capability *cap, StgClosure *closure);
void heap_view_closure_ptrs_in_pap_payload(StgClosure *ptrs[], StgWord *nptrs
, StgClosure *fun, StgClosure **payload, StgWord size);
StgWord heap_view_closureSize(StgClosure *closure);
|