[compiler-rt] e7a3aeb - Revert "[compiler-rt] Move `endif` to correct place (#100342)"
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 07:46:55 PDT 2024
Author: Mitch Phillips
Date: 2024-07-24T16:46:34+02:00
New Revision: e7a3aeb1f86b8d45815b834e4e20b1fc7e71705d
URL: https://github.com/llvm/llvm-project/commit/e7a3aeb1f86b8d45815b834e4e20b1fc7e71705d
DIFF: https://github.com/llvm/llvm-project/commit/e7a3aeb1f86b8d45815b834e4e20b1fc7e71705d.diff
LOG: Revert "[compiler-rt] Move `endif` to correct place (#100342)"
This reverts commit 558a8953680fd03bdd49a6708f3ea82d82328769.
This was a fix-forward for
https://github.com/llvm/llvm-project/pull/99613 that unfortunately
didn't work for the Android sanitizer buildbot. More information in that
pull request.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
index 8b1affb0a048d..bc2cb247f2a8a 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
@@ -2237,7 +2237,6 @@ static const char *RegNumToRegName(int reg) {
case 31:
return "sp";
# endif
-# endif // SANITIZER_LINUX
default:
return NULL;
}
@@ -2303,6 +2302,7 @@ static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
(void)RegName;
# endif
}
+# endif
void SignalContext::DumpAllRegisters(void *context) {
ucontext_t *ucontext = (ucontext_t *)context;
More information about the llvm-commits
mailing list