Skip to content

Commit

Permalink
test: add promises metadata to postmortem test
Browse files Browse the repository at this point in the history
type_JSPromise__JS_PROMISE_TYPE and
type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE will be used on llnode to
identify Promises in memory and core dumps:
nodejs/llnode#272. Add these to our postmortem
test so we're aware of any changes to this metadata.

PR-URL: #31357
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
mmarchini authored and codebytere committed Feb 17, 2020
1 parent bd54abe commit 6833f62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/v8-updates/test-postmortem-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ function getExpectedSymbols() {
'v8dbg_type_JSFunction__JS_FUNCTION_TYPE',
'v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE',
'v8dbg_type_JSGlobalProxy__JS_GLOBAL_PROXY_TYPE',
'v8dbg_type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE',
'v8dbg_type_JSObject__JS_OBJECT_TYPE',
'v8dbg_type_JSPromise__JS_PROMISE_TYPE',
'v8dbg_type_JSRegExp__JS_REG_EXP_TYPE',
'v8dbg_type_JSTypedArray__JS_TYPED_ARRAY_TYPE',
'v8dbg_type_Map__MAP_TYPE',
Expand Down

0 comments on commit 6833f62

Please sign in to comment.