Unverified Commit 01b112a0 authored by cjihrig's avatar cjihrig Committed by Michaël Zasso
Browse files

test: update postmortem metadata test for V8 7.3

The V8 7.3 update requires the following adjustments to the
postmortem debugging metadata constants:

- v8dbg_prop_idx_first was removed in
  https://github.com/v8/v8/commit/1ad0cd560eb8c35bbc7bda49968af1f3859425fe

- v8dbg_jsarray_buffer_was_neutered_mask was renamed to
  v8dbg_jsarray_buffer_was_detached_mask in
  https://github.com/v8/v8/commit/f68ee6e7e49ac33b3ba870f7287555c5dae9051e

- v8dbg_jsarray_buffer_was_neutered_shift was renamed to
  v8dbg_jsarray_buffer_was_detached_shift in
  https://github.com/v8/v8/commit/f68ee6e7e49ac33b3ba870f7287555c5dae9051e

- v8dbg_class_Map__instance_descriptors__DescriptorArray moved to
  v8dbg_class_Map__raw_instance_descriptors__DescriptorArray and
  began using ACCESSORS2 in
  https://github.com/v8/v8/commit/799dfad502839b6e648741770d9dcd4f9be9e834

The following postmortem debugging constants were also impacted
by V8's introduction of ACCESSORS2, but do not need to be updated
the test:

- v8dbg_class_ThinString__actual__String changed in
  https://github.com/v8/v8/commit/0f581e4b99ee923e7ebae72e64ee58999ff74b5d

- v8dbg_class_UncompiledData__inferred_name__String changed in
  https://github.com/v8/v8/commit/0f581e4b99ee923e7ebae72e64ee58999ff74b5d

- v8dbg_class_JSFunction__shared__SharedFunctionInfo changed in
  https://github.com/v8/v8/commit/81620900e93bf9d2c5c84346b29c0f9ec7d7b28d

- v8dbg_class_SharedFunctionInfo__function_data__Object had its
  accessor removed in
  https://github.com/v8/v8/commit/a55803a15d2b202562d72bb186463ca3ebef0c1c
  This has been fixed in gen-postmortem-metadata.py.

PR-URL: https://github.com/nodejs/node/pull/25852


Reviewed-By: default avatarUjjwal Sharma <usharma1998@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarAli Ijaz Sheikh <ofrobots@google.com>
parent 38ad285a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment