aboutsummaryrefslogtreecommitdiff
path: root/lld/test/lit.site.cfg.py.in
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.site.cfg.py.in
parent2226e9a745b91bdd8a97cb508c1f90c411f3e965 (diff)
downloadllvm-16d9a0acfd447bf60543fd914e688db4639bc0bf.zip
llvm-16d9a0acfd447bf60543fd914e688db4639bc0bf.tar.gz
llvm-16d9a0acfd447bf60543fd914e688db4639bc0bf.tar.bz2
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.site.cfg.py.in')
-rw-r--r--lld/test/lit.site.cfg.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/test/lit.site.cfg.py.in b/lld/test/lit.site.cfg.py.in
index 07ffc23..02840f8 100644
--- a/lld/test/lit.site.cfg.py.in
+++ b/lld/test/lit.site.cfg.py.in
@@ -15,6 +15,7 @@ config.lld_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
config.target_triple = "@TARGET_TRIPLE@"
config.python_executable = "@PYTHON_EXECUTABLE@"
config.have_zlib = @HAVE_LIBZ@
+config.sizeof_void_p = @CMAKE_SIZEOF_VOID_P@
# Support substitution of the tools and libs dirs with user parameters. This is
# used when we can't determine the tool dir at configuration time.