Commit b93ad5a
deps: backport 357e6b9 from V8's upstream
Backport 357e6b99ee3927cc075dd8d27c99b89d858f9dd5 from V8's upstream.
Original commit message:
Add ScopeInfo constants to post-mortem metadata
mdb_v8, a post-mortem debugging tool for Node.js, allows users to
inspect ScopeInfo structures in order to get more information about
closures.
Currently, it hardcodes the metadata it uses to find this information.
This change allows it to get this metadata from the node binary itself,
and thus to adapt to future changes made to the layout of the ScopeInfo
data structure.
BUG=
R=bmeurer@chromium.org
PR: #2974
PR-URL: #2974
Reviewed-By: Rod Vagg <r@va.gg>
Reviewed-By: Ben Noordhuis <ben@strongloop.com>1 parent 9c59d2f commit b93ad5aCopy full SHA for b93ad5a
File tree
Expand file treeCollapse file tree
2 files changed
+10
-1
lines changedOpen diff view settings
Filter options
- deps/v8
- src
- tools
Expand file treeCollapse file tree
2 files changed
+10
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4086 | 4086 | |
4087 | 4087 | |
4088 | 4088 | |
4089 | | - |
4090 | 4089 | |
4091 | 4090 | |
4092 | 4091 | |
| ||
4095 | 4094 | |
4096 | 4095 | |
4097 | 4096 | |
| 4097 | + |
4098 | 4098 | |
4099 | 4099 | |
4100 | 4100 | |
|
Collapse file
deps/v8/tools/gen-postmortem-metadata.py
Copy file name to clipboardExpand all lines: deps/v8/tools/gen-postmortem-metadata.py+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
132 | 132 | |
133 | 133 | |
134 | 134 | |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
135 | 144 | |
136 | 145 | |
137 | 146 | |
|
0 commit comments