[cross-project-tests] Add REQUIRES: compiler-rt to tests that use asan
And XFAIL debuginfo-tests/llgdb-tests/asan-deque.cpp on !system-darwin.
On non-darwin systems these tests use gdb and this one fails because gdb
doesn't pretty-print std::deque (the elements of the deque are not printed so
the CHECK lines fail).
Differential Revision: https://reviews.llvm.org/D118760
diff --git a/cross-project-tests/lit.cfg.py b/cross-project-tests/lit.cfg.py
index ffa208f..ae4b7c2 100644
--- a/cross-project-tests/lit.cfg.py
+++ b/cross-project-tests/lit.cfg.py
@@ -78,6 +78,9 @@
config.lld_src_dir = ""
llvm_config.use_lld(required=('lld' in config.llvm_enabled_projects))
+if 'compiler-rt' in config.llvm_enabled_projects:
+ config.available_features.add('compiler-rt')
+
if config.llvm_use_sanitizer:
# Propagate path to symbolizer for ASan/MSan.
llvm_config.with_system_environment(