920a53b6b6
The category name changed in https://crrev.com/c/2159690 (in depot_tools), hence presubmit tests start failing whenever someone touches a file which still refers to the old category. R=zhin@chromium.org TBR=machenbach@chromium.org No-Try: true No-Tree-Checks: true Change-Id: I62813a42d63e512d421c4fe94229d04a56056978 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165760 Reviewed-by: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67403}
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef V8_WASM_TRAP_HANDLER_WIN_H_
|
|
#define V8_WASM_TRAP_HANDLER_WIN_H_
|
|
|
|
#include <windows.h>
|
|
|
|
#include "v8config.h" // NOLINT(build/include_directory)
|
|
|
|
namespace v8 {
|
|
/**
|
|
* This function determines whether a memory access violation has been an
|
|
* out-of-bounds memory access in WebAssembly. If so, it will modify the
|
|
* exception parameter and add a return address where the execution can continue
|
|
* after the exception handling, and return true. Otherwise the return value
|
|
* will be false.
|
|
*
|
|
* The parameter to this function corresponds to the one passed to a Windows
|
|
* vectored exception handler. Use this function only on Windows.
|
|
*
|
|
* \param exception An EXCEPTION_POINTERS* as provided to the exception handler.
|
|
*/
|
|
V8_EXPORT bool TryHandleWebAssemblyTrapWindows(EXCEPTION_POINTERS* exception);
|
|
|
|
} // namespace v8
|
|
#endif // V8_WASM_TRAP_HANDLER_WIN_H_
|