summaryrefslogtreecommitdiffstats
path: root/lld/test/lit.cfg.py
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-03-01 18:53:41 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-03-01 18:53:41 +0000
commit16d9a0acfd447bf60543fd914e688db4639bc0bf (patch)
tree8d0989af7b7a3d697610f21b233876e30cfef6a7 /lld/test/lit.cfg.py
parent2226e9a745b91bdd8a97cb508c1f90c411f3e965 (diff)
downloadbcm5719-llvm-16d9a0acfd447bf60543fd914e688db4639bc0bf.tar.gz
bcm5719-llvm-16d9a0acfd447bf60543fd914e688db4639bc0bf.zip
ELF: Change FileSize back to a uint64_t.
This lets us detect file size overflows when creating a 64-bit binary on a 32-bit machine. Differential Revision: https://reviews.llvm.org/D58840 llvm-svn: 355218
Diffstat (limited to 'lld/test/lit.cfg.py')
-rw-r--r--lld/test/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 350b40a1008..267f8c51785 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -97,6 +97,9 @@ if config.llvm_libxml2_enabled:
if config.have_dia_sdk:
config.available_features.add("diasdk")
+if config.sizeof_void_p == 8:
+ config.available_features.add("llvm-64-bits")
+
tar_executable = lit.util.which('tar', config.environment['PATH'])
if tar_executable:
tar_version = subprocess.Popen(
OpenPOWER on IntegriCloud