[compiler-rt] d50dc33 - [MSAN] Add comment regarding why pthread_getaffinity_np is not supported on Android.

Kevin Athey via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 13:54:02 PDT 2022


Author: Kevin Athey
Date: 2022-06-08T13:53:59-07:00
New Revision: d50dc33d29dd3f0949a01513b05cab5afa05952a

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

LOG: [MSAN] Add comment regarding why pthread_getaffinity_np is not supported on Android.

Depends on: https://reviews.llvm.org/D127264

Reviewed By: vitalybuka, fmayer

Differential Revision: https://reviews.llvm.org/D127327

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp
index d3872d43a4dc..019e9fd5e656 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp
@@ -1,5 +1,8 @@
 // RUN: %clangxx -O0 %s -o %t && %run %t
 
+// Android does not implement pthread_getaffinity_np.
+// (Note: libresolv is integrated with libc, but apparently only
+// sched_getaffinity).
 // UNSUPPORTED: android
 
 #include <assert.h>


        


More information about the llvm-commits mailing list