Skip to content

Commit d50dc33

Browse files
committed
[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
1 parent 0d54a87 commit d50dc33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -O0 %s -o %t && %run %t
22

3+
// Android does not implement pthread_getaffinity_np.
4+
// (Note: libresolv is integrated with libc, but apparently only
5+
// sched_getaffinity).
36
// UNSUPPORTED: android
47

58
#include <assert.h>

0 commit comments

Comments
 (0)