diff options
author | cjihrig <cjihrig@gmail.com> | 2018-10-07 23:27:08 -0400 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-12-06 15:25:53 +0100 |
commit | 379bf1aa8ee602a38209b525cb6a25a804ee334e (patch) | |
tree | 5cde7fb6361783ed6183a4552f07c82c3de7401e /test/v8-updates | |
parent | 3d6d9749c273d8bbd19508a9f294cfedf44d01e2 (diff) | |
download | node-new-379bf1aa8ee602a38209b525cb6a25a804ee334e.tar.gz |
test: update postmortem metadata test for V8 7.1
The V8 7.1 update requires the following adjustments to the
postmortem debugging metadata constants:
- v8dbg_class_JSArrayBuffer__byte_length__Object
Use: v8dbg_class_JSArrayBuffer__byte_length__size_t
- v8dbg_class_JSArrayBufferView__raw_byte_length__Object
Use: v8dbg_class_JSArrayBufferView__byte_length__size_t
- v8dbg_class_JSArrayBufferView__raw_byte_offset__Object
Use: v8dbg_class_JSArrayBufferView__byte_offset__size_t
- v8dbg_class_String__length__SMI
Use: v8dbg_class_String__length__int32_t
Refs: https://github.com/v8/v8/commit/5cfe1a6b121ad004ec3d73b137f84f558aac0efd
Refs: https://github.com/v8/v8/commit/c7a0049e1b70e8f455229c8a470df605ea064f70
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'test/v8-updates')
-rw-r--r-- | test/v8-updates/test-postmortem-metadata.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js index a67e218c03..bbe74c7d6f 100644 --- a/test/v8-updates/test-postmortem-metadata.js +++ b/test/v8-updates/test-postmortem-metadata.js @@ -69,10 +69,10 @@ function getExpectedSymbols() { 'v8dbg_class_HeapObject__map__Map', 'v8dbg_class_JSArray__length__Object', 'v8dbg_class_JSArrayBuffer__backing_store__Object', - 'v8dbg_class_JSArrayBuffer__byte_length__Object', + 'v8dbg_class_JSArrayBuffer__byte_length__size_t', 'v8dbg_class_JSArrayBufferView__buffer__Object', - 'v8dbg_class_JSArrayBufferView__raw_byte_length__Object', - 'v8dbg_class_JSArrayBufferView__raw_byte_offset__Object', + 'v8dbg_class_JSArrayBufferView__byte_length__size_t', + 'v8dbg_class_JSArrayBufferView__byte_offset__size_t', 'v8dbg_class_JSDate__value__Object', 'v8dbg_class_JSFunction__context__Context', 'v8dbg_class_JSFunction__shared__SharedFunctionInfo', @@ -103,7 +103,7 @@ function getExpectedSymbols() { 'v8dbg_class_UncompiledData__start_position__int32_t', 'v8dbg_class_SlicedString__offset__SMI', 'v8dbg_class_SlicedString__parent__String', - 'v8dbg_class_String__length__SMI', + 'v8dbg_class_String__length__int32_t', 'v8dbg_class_ThinString__actual__String', 'v8dbg_context_idx_scope_info', 'v8dbg_context_idx_prev', |