[KCFI] Emit debugtrap to make indirect call checks recoverable
KCFI traps should always be recoverable, but as Intrinsic::trap is marked noreturn, it's not possible to continue execution after handling the trap as the compiler is free to assume we never return. Switch to debugtrap instead to ensure we have the option to resume execution after the trap.
Loading
Please sign in to comment