V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
handler-inside-win.h
1
// Copyright 2018 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
6
#define V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
7
8
#include <windows.h>
9
10
#include "src/base/macros.h"
11
12
namespace
v8
{
13
namespace
internal {
14
namespace
trap_handler {
15
16
LONG WINAPI HandleWasmTrap(EXCEPTION_POINTERS* exception);
17
18
// On Windows, asan installs its own exception handler which maps shadow
19
// memory. Since our exception handler may be executed before the asan exception
20
// handler, we have to make sure that asan shadow memory is not accessed here.
21
DISABLE_ASAN
bool
TryHandleWasmTrap(EXCEPTION_POINTERS* exception);
22
23
}
// namespace trap_handler
24
}
// namespace internal
25
}
// namespace v8
26
27
#endif // V8_TRAP_HANDLER_HANDLER_INSIDE_WIN_H_
v8
Definition:
libplatform.h:13
v8
src
trap-handler
handler-inside-win.h
Generated on Tue Dec 25 2018 14:39:56 by
1.8.14