[compiler-rt] [compiler-rt][sanitizer] fix i386 build for Haiku (PR #171075)
David CARLIER via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 10:14:49 PST 2025
================
@@ -1987,7 +1987,7 @@ SignalContext::WriteFlag SignalContext::GetWriteFlag() const {
# elif SANITIZER_NETBSD
uptr err = ucontext->uc_mcontext.__gregs[_REG_ERR];
# elif SANITIZER_HAIKU
- uptr err = ucontext->uc_mcontext.r13;
+ uptr err = 0; // ucontext->uc_mcontext.r13;
----------------
devnexen wrote:
oh phewww :) might make sense to make a FIXME/TODO comment here then.
https://github.com/llvm/llvm-project/pull/171075
More information about the llvm-commits
mailing list