[compiler-rt] [compiler-rt][sanitizer] fix i386 build for Haiku (PR #171075)
David CARLIER via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 7 22:14:14 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:
but does it work for 64 bits though (should I think) ?
https://github.com/llvm/llvm-project/pull/171075
More information about the llvm-commits
mailing list