aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/tsan-instrprof-atomic.c
blob: 04ca7c084109928bf8df7473252dacc7f5679ef2 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -emit-llvm -fprofile-instrument=clang -fprofile-update=atomic -o - | FileCheck %s
// RUN: %clang %s -S -emit-llvm -fprofile-generate -fprofile-update=atomic -o - | FileCheck %s
// RUN: %clang -O3 %s -S -emit-llvm -fprofile-generate -fprofile-update=atomic -o - | FileCheck %s

// CHECK: define {{.*}}@foo
// CHECK-NOT: load {{.*}}foo
// CHECK: ret void
void foo(void) {}