Skip to content

Commit efbfbc8

Browse files
refacknodejs-github-bot
authored andcommittedOct 16, 2022
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. PR-URL: nodejs/node#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 db6d3cd commit efbfbc8

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.0',
39+
'v8_embedder_string': '-node.1',
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
@@ -21,6 +21,36 @@
2121
// This has to come after windows.h.
2222
#include <versionhelpers.h> // For IsWindows8OrGreater().
2323

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

0 commit comments

Comments
 (0)