Skip to content

Commit 6a5d731

Browse files
committed
gyp: enable postmortem support, fix dtrace paths
Fix: #461 PR-URL: #706 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 8b88ff8 commit 6a5d731

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

common.gypi

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@
2323
# Don't bake anything extra into the snapshot.
2424
'v8_use_external_startup_data%': 0,
2525

26-
# Disable V8's post-mortem debugging; frequently broken and hardly used.
27-
'v8_postmortem_support%': 'false',
28-
2926
'conditions': [
3027
['OS == "win"', {
3128
'os_posix': 0,
29+
'v8_postmortem_support%': 'false',
3230
}, {
3331
'os_posix': 1,
32+
'v8_postmortem_support%': 'true',
3433
}],
3534
['GENERATOR == "ninja" or OS== "mac"', {
3635
'OBJ_DIR': '<(PRODUCT_DIR)/obj',

node.gyp

+3-3
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,10 @@
526526
{
527527
'action_name': 'node_dtrace_provider_o',
528528
'inputs': [
529-
'<(OBJ_DIR)/node/src/node_dtrace.o',
529+
'<(OBJ_DIR)/iojs/src/node_dtrace.o',
530530
],
531531
'outputs': [
532-
'<(OBJ_DIR)/node/src/node_dtrace_provider.o'
532+
'<(OBJ_DIR)/iojs/src/node_dtrace_provider.o'
533533
],
534534
'action': [ 'dtrace', '-G', '-xnolibs', '-s', 'src/node_provider.d',
535535
'<@(_inputs)', '-o', '<@(_outputs)' ]
@@ -579,7 +579,7 @@
579579
'<(SHARED_INTERMEDIATE_DIR)/v8constants.h'
580580
],
581581
'outputs': [
582-
'<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
582+
'<(OBJ_DIR)/iojs/src/node_dtrace_ustack.o'
583583
],
584584
'conditions': [
585585
[ 'target_arch=="ia32"', {

0 commit comments

Comments
 (0)