Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit ac21a53

Browse files
Dave Pachecotrevnorris
authored andcommitted
mdb_v8: update for v0.12
Bugs fixed: * v0.12 and later: in-object properties not printing correctly. * 64-bit: not printing external strings correctly (offset was hardcoded for 32-bit). This would happen with "::jsstack -vn0" because the script "node.js" wasn't printed correctly, at least with 0.10 core files. * 64-bit: printing JS source (via "::jsstack -v") emits errors and shows the wrong code. * Several build warnings. * Two-byte strings are unnecessarily truncated. * Could print friendlier note when given obviously bogus function token positions. New features: * ::jsstack prints much cleaner output by default. * ::jsprint keys are now quoted. * ::jsstack -v includes "this" value for each function on the stack. * ::jsstack -v includes more details about each argument (constructor names for each object). * new commands: ::jsconstructor, ::jsfunctions, ::jssource, ::nodebuffer and ::v8internal. * ::findjsobjects and ::jsprint hidden flags for developers to measure and improve test coverage. * internal jsobj_properties() function is much better documented. Reviewed-By: Timothy J Fontaine <[email protected]> Conflicts: deps/mdb_v8/mdb_v8.c test/pummel/test-postmortem-details.js
1 parent 1314cfe commit ac21a53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@
121121
'value': 'Map::ElementsKindBits::kShift' },
122122
{ 'name': 'bit_field3_dictionary_map_shift',
123123
'value': 'Map::DictionaryMap::kShift' },
124+
{ 'name': 'fieldindex_mask',
125+
'value': 'PropertyDetails::FieldIndexField::kMask' },
126+
{ 'name': 'fieldindex_shift',
127+
'value': 'PropertyDetails::FieldIndexField::kShift' },
124128

125129
{ 'name': 'off_fp_context',
126130
'value': 'StandardFrameConstants::kContextOffset' },
@@ -146,7 +150,7 @@
146150
'Map, instance_size, int, kInstanceSizeOffset',
147151
'Map, bit_field, char, kBitFieldOffset',
148152
'Map, bit_field2, char, kBitField2Offset',
149-
'Map, bit_field3, SMI, kBitField3Offset',
153+
'Map, bit_field3, int, kBitField3Offset',
150154
'Map, prototype, Object, kPrototypeOffset',
151155
'NameDictionaryShape, prefix_size, int, kPrefixSize',
152156
'NameDictionaryShape, entry_size, int, kEntrySize',

0 commit comments

Comments
 (0)