diff options
author | cjihrig <cjihrig@gmail.com> | 2018-09-17 09:29:53 -0400 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-09-22 18:29:59 +0200 |
commit | 8aca934009225b30bff7d7927d2eb9f667dbff9f (patch) | |
tree | 57d0d75c493881fd39109da3b674bb6627993357 /test | |
parent | 0f73875e7b744f6c144ecf420b9f49c1025e0c5d (diff) | |
download | android-node-v8-8aca934009225b30bff7d7927d2eb9f667dbff9f.tar.gz android-node-v8-8aca934009225b30bff7d7927d2eb9f667dbff9f.tar.bz2 android-node-v8-8aca934009225b30bff7d7927d2eb9f667dbff9f.zip |
test: update postmortem metadata test for V8 7.0
The V8 7.0 update requires the following adjustments to the
postmortem debugging metadata constants:
- v8dbg_class_SharedFunctionInfo__script__Object
Use: v8dbg_class_SharedFunctionInfo__script_or_debug_info__Object
- v8dbg_class_SharedFunctionInfo__function_identifier_or_debug_info__Object
Use: v8dbg_class_UncompiledData__inferred_name__String and
v8dbg_class_SharedFunctionInfo__name_or_scope_info__Object
Refs: https://github.com/v8/v8/commit/c941f11abddf57844e9807503df1877f6f60c94a
PR-URL: https://github.com/nodejs/node/pull/22754
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/v8-updates/test-postmortem-metadata.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js index 626aaf3aea..a67e218c03 100644 --- a/test/v8-updates/test-postmortem-metadata.js +++ b/test/v8-updates/test-postmortem-metadata.js @@ -96,10 +96,10 @@ function getExpectedSymbols() { 'v8dbg_class_SharedFunctionInfo__function_data__Object', 'v8dbg_class_SharedFunctionInfo__flags__int', 'v8dbg_class_UncompiledData__end_position__int32_t', - 'v8dbg_class_SharedFunctionInfo__function_identifier_or_debug_info__Object', + 'v8dbg_class_UncompiledData__inferred_name__String', 'v8dbg_class_SharedFunctionInfo__internal_formal_parameter_count__uint16_t', 'v8dbg_class_SharedFunctionInfo__name_or_scope_info__Object', - 'v8dbg_class_SharedFunctionInfo__script__Object', + 'v8dbg_class_SharedFunctionInfo__script_or_debug_info__Object', 'v8dbg_class_UncompiledData__start_position__int32_t', 'v8dbg_class_SlicedString__offset__SMI', 'v8dbg_class_SlicedString__parent__String', |