head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.11.22.14.33.45; author kikadf; state Exp; branches; next ; commitid vbZZAVlFhZ9VUs4H; desc @@ 1.1 log @ nodejs: add trap-handler support for Open- and NetBSD on x64 @ text @$NetBSD$ * Add trap-handler support for Open- and NetBSD on x64 --- deps/v8/src/trap-handler/handler-inside-posix.h.orig 2026-10-27 23:43:43.000000000 +0000 +++ deps/v8/src/trap-handler/handler-inside-posix.h @@@@ -13,12 +13,12 @@@@ namespace v8 { namespace internal { namespace trap_handler { -#if V8_OS_LINUX || V8_OS_FREEBSD +#if V8_OS_LINUX || V8_OS_FREEBSD || V8_OS_OPENBSD || V8_OS_NETBSD constexpr int kOobSignal = SIGSEGV; #elif V8_OS_DARWIN constexpr int kOobSignal = SIGBUS; #else -#error Posix trap handlers are only supported on Linux, MacOSX and FreeBSD. +#error Posix trap handlers are only supported on Linux, MacOSX, FreeBSD, OpenBSD and NetBSD. #endif void HandleSignal(int signum, siginfo_t* info, void* context); @