Skip to content

v8dbg_* symbols not available when NodeJS is statically linked with V8 #4274

Closed
wants to merge 1 commit into from
View
4 deps/v8/src/v8.cc
@@ -44,6 +44,10 @@
#include "serialize.h"
#include "store-buffer.h"
+#if defined(POSTMORTEM_SUPPORT)
+#include <debug-support.h>
+#endif
+
namespace v8 {
namespace internal {
View
10 deps/v8/tools/gyp/v8.gyp
@@ -744,8 +744,14 @@
],
}],
['v8_postmortem_support=="true"', {
+ 'defines': [
+ 'POSTMORTEM_SUPPORT'
+ ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)'
+ ],
'sources': [
- '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/debug-support.h',
],
'dependencies': ['postmortem-metadata']
}],
@@ -841,7 +847,7 @@
'<@(heapobject_files)',
],
'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/debug-support.h',
],
'action': [
'python',
Something went wrong with that request. Please try again.