projects
/
ghc-heap-view.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2beb77f
)
Add comments about lookupSymbol
author
Joachim Breitner
<mail@joachim-breitner.de>
Thu, 20 Dec 2012 14:06:37 +0000
(14:06 +0000)
committer
Joachim Breitner
<mail@joachim-breitner.de>
Thu, 20 Dec 2012 14:06:37 +0000
(14:06 +0000)
src/GHC/HeapView.hs
patch
|
blob
|
history
diff --git
a/src/GHC/HeapView.hs
b/src/GHC/HeapView.hs
index
27ee2d7
..
9e4d9d2
100644
(file)
--- a/
src/GHC/HeapView.hs
+++ b/
src/GHC/HeapView.hs
@@
-300,6
+300,10
@@
data GenClosure b =
info :: StgInfoTable
, indirectee :: b
} |
+ -- In GHCi, if Linker.h would allow a reverse looup, we could for exported
+ -- functions fun actually find the name here.
+ -- At least the other direction works via "lookupSymbol
+ -- base_GHCziBase_zpzp_closure" and yields the same address (up to tags)
APClosure {
info :: StgInfoTable
, arity :: HalfWord