1// Test that verifies TSan runtime doesn't contain compiler-emitted
2// memcpy/memmove calls. It builds the binary with TSan and check's
3// its objdump.
4
5// RUN: %clang_tsan -O1 %s -o %t
6// RUN: llvm-objdump -d %t | FileCheck %s
7
8// REQUIRES: compiler-rt-optimized
9
10int main() {
11 return 0;
12}
13
14// CHECK-NOT: callq {{.*<(__interceptor_)?mem(cpy|set)>}}
15// tail calls:
16// CHECK-NOT: jmpq {{.*<(__interceptor_)?mem(cpy|set)>}}
17
18