Skip to content

Commit d98789b

Browse files
refackBethGriggs
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. Backport-PR-URL: #30109 PR-URL: #27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 5a31dc8 commit d98789b

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.4',
41+
'v8_embedder_string': '-node.5',
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
@@ -16,6 +16,37 @@
1616
#error "Unsupported OS"
1717
#endif // V8_OS_WIN_X64
1818

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

0 commit comments

Comments
 (0)