ruby/coroutine/amd64
Jeremy Evans a60831f9b6 Use ENDBR instruction in amd64 coroutine on OpenBSD
When running on newer Intel processors supporting the feature,
OpenBSD enforces indirect branch tracking.  Without this endbr64
instruction, jumps to the coroutine_transfer function result
in SIGILL on OpenBSD/amd64 when using such processors.

The OpenBSD Ruby ports have been using a patch similar to this
for the past two months.

From some research, cet.h has been supported by GCC for about
6 years and LLVM for about 4 years.
2024-06-13 07:28:59 -07:00
..
Context.h Add support for address sanitizer for amd64 and arm64. 2022-05-25 15:24:24 +12:00
Context.S Use ENDBR instruction in amd64 coroutine on OpenBSD 2024-06-13 07:28:59 -07:00