[compiler-rt] [compiler-rt][Mips] Fix mips SP register definition (PR #124493)
Jens Reidel via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 7 11:40:19 PST 2025
================
@@ -37,25 +37,28 @@
# include <asm/ptrace.h>
#endif
#include <sys/user.h> // for user_regs_struct
-#if SANITIZER_ANDROID && SANITIZER_MIPS
-# include <asm/reg.h> // for mips SP register in sys/user.h
-#endif
-#include <sys/wait.h> // for signal-related stuff
-
-#ifdef sa_handler
-# undef sa_handler
-#endif
-
-#ifdef sa_sigaction
-# undef sa_sigaction
-#endif
-
-#include "sanitizer_common.h"
-#include "sanitizer_flags.h"
-#include "sanitizer_libc.h"
-#include "sanitizer_linux.h"
-#include "sanitizer_mutex.h"
-#include "sanitizer_placement_new.h"
+# if SANITIZER_MIPS
+// clang-format off
----------------
Gelbpunkt wrote:
Should be fixed now. I also moved the formatting to a separate commit.
https://github.com/llvm/llvm-project/pull/124493
More information about the llvm-commits
mailing list