File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 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
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
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 with gcc >= 15.
9+ //
710// TODO: Support builtin atomics. For example, https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
811// DFSan instrumentation pass cannot identify builtin callsites yet.
912
You can’t perform that action at this time.
0 commit comments