Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch/posix.h: implement ARCH_EXCEPT() with abort() for debug convenience
Flush all messages and invoke `abort()` when a k_panic() or k_oops() is hit in native_posix mode. One of the main purposes of `native_posix` is to provide debug convenience. When running in a debugger, `abort()` stops execution which provides a backtrace and the ability to inspect all variables. A practical use case is fuzzing failures in SOF, see an example in: thesofproject/sof#8632 Signed-off-by: Marc Herbert <[email protected]>
- Loading branch information