This follows the approach we use in ASan and UBSan lit tests to setup tool options in a portable way, and to provide a nice way to specify testsuite-wide defaults. llvm-svn: 246058
9 lines
174 B
C++
9 lines
174 B
C++
// RUN: %clangxx -O0 %s -o %t
|
|
// RUN: %env_tool_opts=help=1 %run %t 2>&1 | FileCheck %s
|
|
|
|
int main() {
|
|
}
|
|
|
|
// CHECK: Available flags for {{.*}}Sanitizer:
|
|
// CHECK: handle_segv
|