[lld] r350253 - [test] Enable system-linker-elf feature on NetBSD [NFC]

Michal Gorny via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 2 11:39:26 PST 2019


Author: mgorny
Date: Wed Jan  2 11:39:26 2019
New Revision: 350253

URL: http://llvm.org/viewvc/llvm-project?rev=350253&view=rev
Log:
[test] Enable system-linker-elf feature on NetBSD [NFC]

Since NetBSD uses ELF linker, enable the relevant feature.  It's not
currently used for anything, though.

Modified:
    lld/trunk/test/lit.cfg.py

Modified: lld/trunk/test/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg.py?rev=350253&r1=350252&r2=350253&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg.py (original)
+++ lld/trunk/test/lit.cfg.py Wed Jan  2 11:39:26 2019
@@ -56,7 +56,7 @@ if lit_config.useValgrind:
     config.target_triple += '-vg'
 
 # Running on ELF based *nix
-if platform.system() in ['FreeBSD', 'Linux']:
+if platform.system() in ['FreeBSD', 'NetBSD', 'Linux']:
     config.available_features.add('system-linker-elf')
 
 # Set if host-cxxabi's demangler can handle target's symbols.




More information about the llvm-commits mailing list