blob: b13acea87086ce76b01864908d721ebe50475f8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$OpenBSD: patch-v8_src_trap-handler_handler-inside-posix_h,v 1.4 2021/09/01 16:54:41 robert Exp $
Index: v8/src/trap-handler/handler-inside-posix.h
--- v8/src/trap-handler/handler-inside-posix.h.orig
+++ v8/src/trap-handler/handler-inside-posix.h
@@ -13,7 +13,7 @@ namespace v8 {
namespace internal {
namespace trap_handler {
-#if V8_OS_LINUX || V8_OS_FREEBSD
+#if V8_OS_LINUX || V8_OS_FREEBSD || V8_OS_OPENBSD
constexpr int kOobSignal = SIGSEGV;
#elif V8_OS_MACOSX
constexpr int kOobSignal = SIGBUS;
|