summaryrefslogtreecommitdiffstats
path: root/llvm/test/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r--llvm/test/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index f92f7912038..a67bd6527a5 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -228,6 +228,9 @@ def have_cxx_shared_library():
if have_cxx_shared_library():
config.available_features.add('cxx-shared-library')
+if config.libcxx_used:
+ config.available_features.add('libcxx-used')
+
# Direct object generation
if not 'hexagon' in config.target_triple:
config.available_features.add('object-emission')
OpenPOWER on IntegriCloud