Skip to content

Commit

Permalink
test: update postmortem metadata test for V8 6.9
Browse files Browse the repository at this point in the history
The V8 6.9 update requires the following adjustments to the
postmortem debugging metadata constants:

- v8dbg_class_SharedFunctionInfo__function_identifier__Object
  Use: v8dbg_class_UncompiledData__inferred_name__String

- v8dbg_class_SharedFunctionInfo__script__Object
  Use: v8dbg_class_SharedFunctionInfo__script_or_debug_info__Object

- v8dbg_class_SharedFunctionInfo__end_position__int
  Use: v8dbg_class_UncompiledData__end_position__int32_t

- v8dbg_class_SharedFunctionInfo__start_position_and_type__int
  Use: v8dbg_class_UncompiledData__start_position__int32_t

- v8dbg_sharedfunctioninfo_start_position_mask and
- v8dbg_sharedfunctioninfo_start_position_shift
  Removed. Use: v8dbg_class_UncompiledData__start_position__int32_t

Refs: v8/v8@39e2d97#diff-f3f182b0510ba2ee39ae87e421ff110b
  • Loading branch information
cjihrig committed Aug 7, 2018
1 parent e570ae7 commit 3518de8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/v8-updates/test-postmortem-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ function getExpectedSymbols() {
'v8dbg_class_SeqTwoByteString__chars__char',
'v8dbg_class_SharedFunctionInfo__function_data__Object',
'v8dbg_class_SharedFunctionInfo__flags__int',
'v8dbg_class_SharedFunctionInfo__end_position__int',
'v8dbg_class_SharedFunctionInfo__function_identifier__Object',
'v8dbg_class_SharedFunctionInfo__internal_formal_parameter_count__int',
'v8dbg_class_UncompiledData__end_position__int32_t',
'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__start_position_and_type__int',
'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',
'v8dbg_class_String__length__SMI',
Expand Down Expand Up @@ -151,8 +151,6 @@ function getExpectedSymbols() {
'v8dbg_scopeinfo_idx_ncontextlocals',
'v8dbg_scopeinfo_idx_nparams',
'v8dbg_scopeinfo_idx_nstacklocals',
'v8dbg_sharedfunctioninfo_start_position_mask',
'v8dbg_sharedfunctioninfo_start_position_shift',
'v8dbg_type_Code__CODE_TYPE',
'v8dbg_type_FixedArray__FIXED_ARRAY_TYPE',
'v8dbg_type_HeapNumber__HEAP_NUMBER_TYPE',
Expand Down

0 comments on commit 3518de8

Please sign in to comment.