Skip to content

Commit 54f4f1a

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 <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 10ba1cb commit 54f4f1a

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
@@ -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.2',
39+
'v8_embedder_string': '-node.3',
4040

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

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

+31
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,37 @@
1717
#error "Unsupported OS"
1818
#endif // V8_OS_WIN_X64
1919

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

0 commit comments

Comments
 (0)