Skip to content
Permalink
Browse files

deps: V8: forward declaration of `Rtl*FunctionTable`

This should be semver-patch since actual invocation is version
conditional.

Backport-PR-URL: #28955
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>
  • Loading branch information...
refack authored and targos committed May 22, 2019
1 parent ac0c075 commit d940403c20c4a83dfe72e9cb0b2bdaab07e1774d
Showing with 32 additions and 1 deletion.
  1. +1 −1 common.gypi
  2. +31 −0 deps/v8/src/diagnostics/unwinding-info-win64.cc
@@ -38,7 +38,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.5',
'v8_embedder_string': '-node.6',

##### V8 defaults for Node.js #####

@@ -10,6 +10,37 @@
#include "src/codegen/x64/assembler-x64.h"
#include "src/utils/allocation.h"

// Forward declaration to keep this independent of Win8
NTSYSAPI
DWORD
NTAPI
RtlAddGrowableFunctionTable(
_Out_ PVOID* DynamicTable,
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
_In_ DWORD EntryCount,
_In_ DWORD MaximumEntryCount,
_In_ ULONG_PTR RangeBase,
_In_ ULONG_PTR RangeEnd
);


NTSYSAPI
void
NTAPI
RtlGrowFunctionTable(
_Inout_ PVOID DynamicTable,
_In_ DWORD NewEntryCount
);


NTSYSAPI
void
NTAPI
RtlDeleteGrowableFunctionTable(
_In_ PVOID DynamicTable
);


namespace v8 {
namespace internal {
namespace win64_unwindinfo {

0 comments on commit d940403

Please sign in to comment.
You can’t perform that action at this time.