Mercurial > hg > CbC > CbC_llvm
view compiler-rt/test/tsan/thread_end_with_ignore2.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s #include "test.h" int main() { AnnotateIgnoreWritesBegin("", 0); } // CHECK: ThreadSanitizer: main thread finished with ignores enabled // CHECK: Ignore was enabled at: // CHECK: #0 AnnotateIgnoreWritesBegin // CHECK: #1 main