• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Test that verifies TSan runtime doesn't contain compiler-emitted
2 // memcpy/memmove calls. It builds the binary with TSan and passes it to
3 // check_memcpy.sh script.
4 
5 // RUN: %clangxx_tsan -O1 %s -o %t
6 // RUN: llvm-objdump -d %t | FileCheck %s
7 
main()8 int main() {
9   return 0;
10 }
11 
12 // CHECK-NOT: callq {{.*<(__interceptor_)?mem(cpy|set)>}}
13 // tail calls:
14 // CHECK-NOT: jmpq {{.*<(__interceptor_)?mem(cpy|set)>}}
15 
16