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

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions deps/v8/src/v8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
#include "serialize.h"
#include "store-buffer.h"

#if defined(POSTMORTEM_SUPPORT)
#include <debug-support.h>
#endif

namespace v8 {
namespace internal {

Expand Down
10 changes: 8 additions & 2 deletions deps/v8/tools/gyp/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}],
Expand Down Expand Up @@ -841,7 +847,7 @@
'<@(heapobject_files)',
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
'<(SHARED_INTERMEDIATE_DIR)/debug-support.h',
],
'action': [
'python',
Expand Down