From 5fbb24812d5373381d4852c7c7cad4cd784dd9f8 Mon Sep 17 00:00:00 2001 From: Julien Gilli Date: Wed, 23 Sep 2015 11:08:47 -0700 Subject: [PATCH] deps: backport c281c15 from V8's upstream Backport c281c15d6dab8370a7805f0717502d260e0ad433 from V8's upstream to allow post-mortem debugging tools to inspect Buffer instances' length. Original commit message: Add JSTypedArray's length in post-mortem metadata. BUG= R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1363683002 Cr-Commit-Position: refs/heads/master@{#30873} PR: #3031 PR-URL: https://github.com/nodejs/node/pull/3031 Reviewed-By: Trevor Norris --- deps/v8/tools/gen-postmortem-metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index 600da12..0f90b26 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -150,6 +150,7 @@ extras_accessors = [ 'HeapObject, map, Map, kMapOffset', 'JSObject, elements, Object, kElementsOffset', 'FixedArray, data, uintptr_t, kHeaderSize', + 'JSTypedArray, length, Object, kLengthOffset', 'Map, instance_attributes, int, kInstanceAttributesOffset', 'Map, inobject_properties, int, kInObjectPropertiesOffset', 'Map, instance_size, int, kInstanceSizeOffset', -- 2.7.4