[compiler-rt] [compiler-rt] Fix build for android (PR #101149)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 15:29:43 PDT 2024
================
@@ -2154,7 +2154,8 @@ bool SignalContext::IsTrueFaultingAddress() const {
UNUSED
static const char *RegNumToRegName(int reg) {
switch (reg) {
-# if SANITIZER_LINUX && SANITIZER_GLIBC || SANITIZER_NETBSD
+# if (SANITIZER_LINUX && SANITIZER_GLIBC && !SANITIZER_ANDROID) || \
----------------
vitalybuka wrote:
On revision from the build error, there is no
`if SANITIZER_LINUX && SANITIZER_GLIBC || SANITIZER_NETBSD` in `RegNumToRegName`
https://github.com/llvm/llvm-project/pull/101149
More information about the llvm-commits
mailing list