[compiler-rt] dd7fb51 - [ubsan][test] Remove unused lit feature arch=config.target_arch
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 16:11:43 PDT 2023
Author: Fangrui Song
Date: 2023-08-18T16:11:38-07:00
New Revision: dd7fb512fbd9020ab87e0f445a53e76507c3be15
URL: https://github.com/llvm/llvm-project/commit/dd7fb512fbd9020ab87e0f445a53e76507c3be15
DIFF: https://github.com/llvm/llvm-project/commit/dd7fb512fbd9020ab87e0f445a53e76507c3be15.diff
LOG: [ubsan][test] Remove unused lit feature arch=config.target_arch
Obsoleted by target=
Added:
Modified:
compiler-rt/test/ubsan/lit.common.cfg.py
compiler-rt/test/ubsan_minimal/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/ubsan/lit.common.cfg.py b/compiler-rt/test/ubsan/lit.common.cfg.py
index bc31913478c673..61f6818cce064f 100644
--- a/compiler-rt/test/ubsan/lit.common.cfg.py
+++ b/compiler-rt/test/ubsan/lit.common.cfg.py
@@ -85,8 +85,6 @@ def build_invocation(compile_flags):
]:
config.unsupported = True
-config.available_features.add("arch=" + config.target_arch)
-
config.excludes = ["Inputs"]
if ubsan_lit_test_mode in ["AddressSanitizer", "MemorySanitizer", "ThreadSanitizer"]:
diff --git a/compiler-rt/test/ubsan_minimal/lit.common.cfg.py b/compiler-rt/test/ubsan_minimal/lit.common.cfg.py
index ea3666f0bcc92d..d398d3a0a81626 100644
--- a/compiler-rt/test/ubsan_minimal/lit.common.cfg.py
+++ b/compiler-rt/test/ubsan_minimal/lit.common.cfg.py
@@ -48,5 +48,3 @@ def build_invocation(compile_flags):
# Don't target x86_64h if the test machine can't execute x86_64h binaries.
if "-arch x86_64h" in target_cflags and "x86_64h" not in config.available_features:
config.unsupported = True
-
-config.available_features.add("arch=" + config.target_arch)
More information about the llvm-commits
mailing list