Skip to content

Commit 54e11fe

Browse files
cjihrignodejs-ci
authored andcommitted
test: update postmortem metadata test
This commit updates the following postmortem metadata constants: - v8dbg_class_Map__inobject_properties_or_constructor_function_index__int - This is now v8dbg_class_Map__inobject_properties_start_or_constructor_function_index__char as of v8/v8@61bf2cc - v8dbg_class_Map__instance_attributes__int - This is now v8dbg_class_Map__instance_type__uint16_t as of v8/v8@c00bb6d and v8/v8@cb46310 - v8dbg_class_Map__instance_size__int - This is now v8dbg_class_Map__instance_size_in_words__char as of v8/v8@61bf2cc Refs: #34 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent fa1d9b8 commit 54e11fe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/parallel/test-postmortem-metadata.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ assert.strictEqual(missing.length, 0, `Missing constants: ${missing}`);
3737
// pushed to the bottom of the file for improved readability.
3838
function getExpectedSymbols() {
3939
return [
40+
// Disable the maximum line length for the remainder of the file since it
41+
// should only consist of postmortem constants, and some of them can be
42+
// relatively long.
43+
/* eslint-disable max-len */
4044
'v8dbg_bit_field3_dictionary_map_shift',
4145
'v8dbg_bit_field3_number_of_own_descriptors_shift',
4246
'v8dbg_class_Code__instruction_size__int',
@@ -64,10 +68,10 @@ function getExpectedSymbols() {
6468
'v8dbg_class_JSRegExp__source__Object',
6569
'v8dbg_class_Map__bit_field3__int',
6670
'v8dbg_class_Map__constructor_or_backpointer__Object',
67-
'v8dbg_class_Map__inobject_properties_or_constructor_function_index__int',
68-
'v8dbg_class_Map__instance_attributes__int',
71+
'v8dbg_class_Map__inobject_properties_start_or_constructor_function_index__char',
72+
'v8dbg_class_Map__instance_type__uint16_t',
6973
'v8dbg_class_Map__instance_descriptors__DescriptorArray',
70-
'v8dbg_class_Map__instance_size__int',
74+
'v8dbg_class_Map__instance_size_in_words__char',
7175
'v8dbg_class_Oddball__kind_offset__int',
7276
'v8dbg_class_Script__line_ends__Object',
7377
'v8dbg_class_Script__line_offset__SMI',

0 commit comments

Comments
 (0)