Skip to content

Commit 1ed3909

Browse files
refacktargos
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. Backport-PR-URL: #29241 PR-URL: #27375 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 242f617 commit 1ed3909

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.5',
41+
'v8_embedder_string': '-node.6',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/src/diagnostics/unwinding-info-win64.cc

+31
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,37 @@
1010
#include "src/codegen/x64/assembler-x64.h"
1111
#include "src/utils/allocation.h"
1212

13+
// Forward declaration to keep this independent of Win8
14+
NTSYSAPI
15+
DWORD
16+
NTAPI
17+
RtlAddGrowableFunctionTable(
18+
_Out_ PVOID* DynamicTable,
19+
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
20+
_In_ DWORD EntryCount,
21+
_In_ DWORD MaximumEntryCount,
22+
_In_ ULONG_PTR RangeBase,
23+
_In_ ULONG_PTR RangeEnd
24+
);
25+
26+
27+
NTSYSAPI
28+
void
29+
NTAPI
30+
RtlGrowFunctionTable(
31+
_Inout_ PVOID DynamicTable,
32+
_In_ DWORD NewEntryCount
33+
);
34+
35+
36+
NTSYSAPI
37+
void
38+
NTAPI
39+
RtlDeleteGrowableFunctionTable(
40+
_In_ PVOID DynamicTable
41+
);
42+
43+
1344
namespace v8 {
1445
namespace internal {
1546
namespace win64_unwindinfo {

0 commit comments

Comments
 (0)