[compiler-rt] 9943cd7 - [compiler-rt] unbreak android build

David Carlier via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 14:11:24 PST 2024


Author: David Carlier
Date: 2024-01-02T22:11:17Z
New Revision: 9943cd7c7de7ff36d23775e4fb2a449208d41569

URL: https://github.com/llvm/llvm-project/commit/9943cd7c7de7ff36d23775e4fb2a449208d41569
DIFF: https://github.com/llvm/llvm-project/commit/9943cd7c7de7ff36d23775e4fb2a449208d41569.diff

LOG: [compiler-rt] unbreak android build

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index 1ee26e0cbbb999..34bfef1f7ef456 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -523,6 +523,7 @@ typedef long __sanitizer_clock_t;
 
 #if SANITIZER_LINUX
 typedef int __sanitizer_clockid_t;
+typedef unsigned long long __sanitizer_eventfd_t;
 #endif
 
 #if SANITIZER_LINUX
@@ -938,8 +939,6 @@ struct __sanitizer_cookie_io_functions_t {
   __sanitizer_cookie_io_seek seek;
   __sanitizer_cookie_io_close close;
 };
-
-typedef unsigned long long __sanitizer_eventfd_t;
 #endif
 
 #define IOC_NRBITS 8


        


More information about the llvm-commits mailing list