Skip to content

Commit 17a6def

Browse files
cjihrigmmarchini
authored andcommitted
deps: update V8 dtrace & postmortem metadata
PR-URL: #32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 405ae19 commit 17a6def

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# Reset this number to 0 on major V8 upgrades.
3737
# Increment by one for each non-official patch applied to deps/v8.
38-
'v8_embedder_string': '-node.0',
38+
'v8_embedder_string': '-node.1',
3939

4040
##### V8 defaults for Node.js #####
4141

deps/v8/tools/gen-postmortem-metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
'ExternalString, resource, Object, kResourceOffset',
264264
'SeqOneByteString, chars, char, kHeaderSize',
265265
'SeqTwoByteString, chars, char, kHeaderSize',
266+
'UncompiledData, inferred_name, String, kInferredNameOffset',
266267
'UncompiledData, start_position, int32_t, kStartPositionOffset',
267268
'UncompiledData, end_position, int32_t, kEndPositionOffset',
268269
'SharedFunctionInfo, raw_function_token_offset, int16_t, kFunctionTokenOffsetOffset',
@@ -279,6 +280,7 @@
279280
'SlicedString, offset, SMI, kOffsetOffset',
280281
'ThinString, actual, String, kActualOffset',
281282
'Symbol, name, Object, kDescriptionOffset',
283+
'Map, constructor_or_backpointer, Object, kConstructorOrBackPointerOrNativeContextOffset',
282284
];
283285

284286
#

src/v8abbr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@
105105
#define V8_OFF_STR_CHARS \
106106
V8_OFF_HEAP(V8DBG_CLASS_SEQONEBYTESTRING__CHARS__CHAR)
107107
#define V8_OFF_CONSSTR_CAR \
108-
V8_OFF_HEAP(V8DBG_CLASS_CONSSTRING__FIRST_OFFSET__INT)
108+
V8_OFF_HEAP(V8DBG_CLASS_CONSSTRING__FIRST__STRING)
109109
#define V8_OFF_CONSSTR_CDR \
110-
V8_OFF_HEAP(V8DBG_CLASS_CONSSTRING__SECOND_OFFSET__INT)
110+
V8_OFF_HEAP(V8DBG_CLASS_CONSSTRING__SECOND__STRING)
111111
#define V8_OFF_EXTSTR_RSRC \
112112
V8_OFF_HEAP(V8DBG_CLASS_EXTERNALSTRING__RESOURCE__OBJECT)
113113
#define V8_OFF_FA_SIZE \

test/v8-updates/test-postmortem-metadata.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function getExpectedSymbols() {
6464
'v8dbg_bit_field3_number_of_own_descriptors_shift',
6565
'v8dbg_class_Code__instruction_size__int',
6666
'v8dbg_class_Code__instruction_start__uintptr_t',
67-
'v8dbg_class_ConsString__first_offset__int',
68-
'v8dbg_class_ConsString__second_offset__int',
67+
'v8dbg_class_ConsString__first__String',
68+
'v8dbg_class_ConsString__second__String',
6969
'v8dbg_class_FixedArray__data__uintptr_t',
7070
'v8dbg_class_FixedArrayBase__length__SMI',
7171
'v8dbg_class_JSTypedArray__base_pointer__Object',
@@ -106,10 +106,10 @@ function getExpectedSymbols() {
106106
'v8dbg_class_SharedFunctionInfo__name_or_scope_info__Object',
107107
'v8dbg_class_SharedFunctionInfo__script_or_debug_info__HeapObject',
108108
'v8dbg_class_UncompiledData__start_position__int32_t',
109-
'v8dbg_class_SlicedString__offset_offset__int',
109+
'v8dbg_class_SlicedString__offset__SMI',
110110
'v8dbg_class_SlicedString__parent__String',
111111
'v8dbg_class_String__length__int32_t',
112-
'v8dbg_class_ThinString__actual_offset__int',
112+
'v8dbg_class_ThinString__actual__String',
113113
'v8dbg_context_idx_scope_info',
114114
'v8dbg_context_idx_prev',
115115
'v8dbg_context_min_slots',

0 commit comments

Comments
 (0)