Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to __builtin_trap() when possible instead of abort()
abort() raises SIGABRT which may run more code in process, while __builtin_trap may generate a trap that debuggers can catch in debug builds and produces smaller codegen (no function call). See also: https://discourse.llvm.org/t/rfc-hardening-in-libc/73925#termination-2
- Loading branch information