Skip to content

Commit f83323f

Browse files
refacktargos
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. PR-URL: #32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 4be7584 commit f83323f

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.1',
39+
'v8_embedder_string': '-node.2',
4040

4141
##### V8 defaults for Node.js #####
4242

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

+30
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,36 @@
2222
// This has to come after windows.h.
2323
#include <versionhelpers.h> // For IsWindows8OrGreater().
2424

25+
// Forward declaration to keep this independent of Win8
26+
NTSYSAPI
27+
DWORD
28+
NTAPI
29+
RtlAddGrowableFunctionTable(
30+
_Out_ PVOID* DynamicTable,
31+
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
32+
_In_ DWORD EntryCount,
33+
_In_ DWORD MaximumEntryCount,
34+
_In_ ULONG_PTR RangeBase,
35+
_In_ ULONG_PTR RangeEnd
36+
);
37+
38+
39+
NTSYSAPI
40+
void
41+
NTAPI
42+
RtlGrowFunctionTable(
43+
_Inout_ PVOID DynamicTable,
44+
_In_ DWORD NewEntryCount
45+
);
46+
47+
48+
NTSYSAPI
49+
void
50+
NTAPI
51+
RtlDeleteGrowableFunctionTable(
52+
_In_ PVOID DynamicTable
53+
);
54+
2555
namespace v8 {
2656
namespace internal {
2757
namespace win64_unwindinfo {

0 commit comments

Comments
 (0)