deps: enable v8 postmortem debugging again
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 27 Mar 2015 11:05:40 +0000 (12:05 +0100)
committerChris Dickinson <christopher.s.dickinson@gmail.com>
Tue, 28 Apr 2015 21:38:16 +0000 (14:38 -0700)
Cherry-pick https://codereview.chromium.org/1033733003 from upstream
and re-enable postmortem debugging.

PR-URL: https://github.com/iojs/io.js/pull/1232
Reviewed-By: Fedor Indutny <fedor@indutny.com>
common.gypi
deps/v8/tools/gen-postmortem-metadata.py

index 8aee4ea..ea7779e 100644 (file)
     # Enable disassembler for `--print-code` v8 options
     'v8_enable_disassembler': 1,
 
-    # Disable support for postmortem debugging, continuously broken.
-    'v8_postmortem_support%': 'false',
-
     # Don't bake anything extra into the snapshot.
     'v8_use_external_startup_data%': 0,
 
     'conditions': [
       ['OS == "win"', {
         'os_posix': 0,
+        'v8_postmortem_support%': 'false',
       }, {
         'os_posix': 1,
+        'v8_postmortem_support%': 'true',
       }],
       ['GENERATOR == "ninja" or OS== "mac"', {
         'OBJ_DIR': '<(PRODUCT_DIR)/obj',
index 62e103a..d5defa7 100644 (file)
@@ -91,7 +91,7 @@ consts_misc = [
     { 'name': 'prop_idx_first',
         'value': 'DescriptorArray::kFirstIndex' },
     { 'name': 'prop_type_field',
-        'value': 'FIELD' },
+        'value': 'DATA' },
     { 'name': 'prop_type_mask',
         'value': 'PropertyDetails::TypeField::kMask' },
     { 'name': 'prop_index_mask',