Skip to content

Commit 1fdd314

Browse files
committed
Split out dfsan change
Created using spr 1.3.6-beta.1
1 parent 6d32cd4 commit 1fdd314

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

compiler-rt/test/dfsan/atomic.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
// RUN: %clangxx_dfsan %s -fno-exceptions -D_GLIBCXX_NO_ASSERTIONS -o %t && %run %t
2-
// RUN: %clangxx_dfsan -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 %s -fno-exceptions -D_GLIBCXX_NO_ASSERTIONS -o %t && %run %t
1+
// RUN: %clangxx_dfsan %s -fno-exceptions -o %t && %run %t
2+
// RUN: %clangxx_dfsan -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 %s -fno-exceptions -o %t && %run %t
33
//
44
// Use -fno-exceptions to turn off exceptions to avoid instrumenting
55
// __cxa_begin_catch, std::terminate and __gxx_personality_v0.
66
//
7-
// Use -D_GLIBCXX_NO_ASSERTIONS to avoid depending on
8-
// std::__glibcxx_assert_fail.
9-
//
107
// TODO: Support builtin atomics. For example, https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
118
// DFSan instrumentation pass cannot identify builtin callsites yet.
129

0 commit comments

Comments
 (0)