Open mpickering opened 5 years ago
There are some utilities in the old ghc-heap-view library for building graphs/trees from a single closure. This would be useful to port over, in fact, necessary in order to deal with cycles.
https://github.com/nomeata/ghc-heap-view/blob/master/src/GHC/HeapView.hs
Done. Approximately. Traversing through stacks won't really work yet.
There are some utilities in the old ghc-heap-view library for building graphs/trees from a single closure. This would be useful to port over, in fact, necessary in order to deal with cycles.
https://github.com/nomeata/ghc-heap-view/blob/master/src/GHC/HeapView.hs