From 22ce712c1915216a12ddc968f69f095c729ee59f Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Fri, 1 Mar 2019 10:52:25 +0000 Subject: [PATCH] [ELF][ARM] Fix clang-armv7-linux-build-cache builds of LLD [NFC] r355153 introduced a build failure on a build bot that uses clang natively on an armv7-a machine. This a temporary fix to use size_t rather than uint64_t. llvm-svn: 355195 --- lld/ELF/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 42507f776826..09fe3c5a73f9 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -82,7 +82,7 @@ private: std::vector Phdrs; - uint64_t FileSize; + size_t FileSize; uint64_t SectionHeaderOff; }; } // anonymous namespace