[compiler-rt] 415c689 - [compiler-rt][test] Add feature host-byteorder-big-endian

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun May 10 11:02:57 PDT 2020


Author: Fangrui Song
Date: 2020-05-10T11:02:25-07:00
New Revision: 415c689dd224d3b08a75364453e66a19f9995859

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

LOG: [compiler-rt][test] Add feature host-byteorder-big-endian

This is needed to make 5a9b792d7251e19f69f96c9619cde49497c79a07 "[gcov] Temporarily unsupport host-byteorder-big-endian"
work.

Added: 
    

Modified: 
    compiler-rt/test/lit.common.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index efd64b3ca9f9..98a2f3c03e60 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -103,6 +103,8 @@
 if re.match(r'^x86_64.*-linux', config.target_triple):
   config.available_features.add("x86_64-linux")
 
+config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
+
 if config.have_zlib == "1":
   config.available_features.add("zlib")
 


        


More information about the llvm-commits mailing list