Files
swift-mirror/stdlib/public/runtime/CrashHandlerLinux.cpp
Alastair Houghton 9739a2f5d4 [Linux][Backtracing] Don't try to use process_vm_readv().
We used to try to use `process_vm_readv()` if `CAP_SYS_PTRACE` is
enabled.  This avoided using signal handlers to catch crashes when
we try to read through an invalid pointer, but it complicates the
code and it turns out not to work on some Linux kernels where
the `process_vm_readv()` syscall is unavailable.

rdar://159930644
2025-09-26 09:02:22 +01:00

19 KiB