summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/test/lit.cfg')
-rw-r--r--llvm/lib/Fuzzer/test/lit.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/lit.cfg b/llvm/lib/Fuzzer/test/lit.cfg
index 2140a97668b..5f52f643f75 100644
--- a/llvm/lib/Fuzzer/test/lit.cfg
+++ b/llvm/lib/Fuzzer/test/lit.cfg
@@ -13,3 +13,9 @@ path = os.path.pathsep.join((llvm_tools_dir, config.test_exec_root,
config.environment['PATH']))
config.environment['PATH'] = path
+if config.has_dfsan:
+ lit_config.note('dfsan feature available')
+ config.available_features.add('dfsan')
+else:
+ lit_config.note('dfsan feature unavailable')
+
OpenPOWER on IntegriCloud