[lld] d5b2921 - [lld/tests] Stop setting the "asserts" and "debug" features

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 10:39:29 PST 2022


Author: Nico Weber
Date: 2022-01-05T13:39:17-05:00
New Revision: d5b2921faf5123b609e506efb40b7ec031679077

URL: https://github.com/llvm/llvm-project/commit/d5b2921faf5123b609e506efb40b7ec031679077
DIFF: https://github.com/llvm/llvm-project/commit/d5b2921faf5123b609e506efb40b7ec031679077.diff

LOG: [lld/tests] Stop setting the "asserts" and "debug" features

The last use of `REQUIRES: debug` was removed in 2013 in 72c5d3d7c in favor of
`REQUIRES: asserts`.

The last use of `REQUIRES: asserts` was removed in 2015 in 251b0e268 when the
old COFF linker was removed.

lld's test suite currently has no behavior difference with respect to
assertions or debug builds (and hasn't had it for 6 years). Let's keep it that
way :)

Differential Revision: https://reviews.llvm.org/D115941

Added: 
    

Modified: 
    lld/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 236c46187002d..22012b5863f90 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -63,9 +63,7 @@
     config.available_features.add('demangler')
 
 llvm_config.feature_config(
-    [('--build-mode', {'DEBUG': 'debug'}),
-     ('--assertion-mode', {'ON': 'asserts'}),
-     ('--targets-built', {'AArch64': 'aarch64',
+    [('--targets-built', {'AArch64': 'aarch64',
                           'AMDGPU': 'amdgpu',
                           'ARM': 'arm',
                           'AVR': 'avr',


        


More information about the llvm-commits mailing list