Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 78b1b5c

Browse files
refackMylesBorins
authored andcommittedJan 8, 2020
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 <[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 2efd0ec commit 78b1b5c

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)
Please sign in to comment.