Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove -fomit-frame-pointer (#1331)
This option is usually enabled by default by GCC/Clang with -O1 and above. This is not true on some targets like macOS/arm64, and there we are better off deferring to the compiler anyway. This became an issue because Xcode 15 shipped with a new linker that, at least when LTO is enabled, appears to mess up metadata that is used to unwind the stack during exception handling. Without a frame pointer to fall back on, unwinding fails completely and causes ares to terminate.
- Loading branch information