[TSan] Define PTHREAD_ABI_BASE for SystemZ

SystemZ's glibc symbols use version 2.3.2.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D105629
This commit is contained in:
Ilya Leoshkevich 2021-07-02 02:47:25 +02:00
parent d5c34ee5b6
commit fab044045b
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ struct ucontext_t {
};
#endif
#if defined(__x86_64__) || defined(__mips__) || SANITIZER_PPC64V1
#if defined(__x86_64__) || defined(__mips__) || SANITIZER_PPC64V1 || \
defined(__s390x__)
#define PTHREAD_ABI_BASE "GLIBC_2.3.2"
#elif defined(__aarch64__) || SANITIZER_PPC64V2
#define PTHREAD_ABI_BASE "GLIBC_2.17"