Skip to content

Commit

Permalink
[TSan] Define PTHREAD_ABI_BASE for SystemZ
Browse files Browse the repository at this point in the history
SystemZ's glibc symbols use version 2.3.2.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D105629
  • Loading branch information
iii-i committed Jul 15, 2021
1 parent d5c34ee commit fab0440
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fab0440

Please sign in to comment.