summaryrefslogtreecommitdiff
path: root/rts/Printer.c
diff options
context:
space:
mode:
authorSven Tennie <sven.tennie@gmail.com>2021-04-03 19:35:34 +0200
committerSven Tennie <sven.tennie@gmail.com>2021-09-22 09:14:00 +0200
commit162e44d96db8f3070b4e1bc05d5c40a3e2d65794 (patch)
tree7817d9b2d6319d7561b927ad3d8bdffddc42ab57 /rts/Printer.c
parent5c0628d09d78a920c1ae46fa2e668d603b1d01af (diff)
downloadhaskell-wip/stack-unwinding.tar.gz
Use Info Table Provenances to decode cloned stack (#18163)wip/stack-unwinding
Emit an Info Table Provenance Entry (IPE) for every stack represeted info table if -finfo-table-map is turned on. To decode a cloned stack, lookupIPE() is used. It provides a mapping between info tables and their source location. Please see these notes for details: - [Stacktraces from Info Table Provenance Entries (IPE based stack unwinding)] - [Mapping Info Tables to Source Positions] Metric Increase: T12545
Diffstat (limited to 'rts/Printer.c')
-rw-r--r--rts/Printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Printer.c b/rts/Printer.c
index d2a5c67ca4..ef9394f24e 100644
--- a/rts/Printer.c
+++ b/rts/Printer.c
@@ -678,7 +678,7 @@ printStackChunk( StgPtr sp, StgPtr spBottom )
}
}
-static void printStack( StgStack *stack )
+void printStack( StgStack *stack )
{
printStackChunk( stack->sp, stack->stack + stack->stack_size );
}