commit | 18ff139eea272d3ce4a4c4968670ee497daf169e | [log] [tgz] |
---|---|---|
author | Teresa Johnson <tejohnson@google.com> | Fri Aug 12 14:55:43 2016 +0000 |
committer | Teresa Johnson <tejohnson@google.com> | Fri Aug 12 14:55:43 2016 +0000 |
tree | 8d7e2972b0d18bf350ffcbd323a8a275aeaad041 | |
parent | 396941b5b34cd596a833a30220a24377261c235e [diff] |
Fix type to avoid problems on 32-bit builds lto::InputFile::Symbol::getCommonSize should return uint64_t instead of size_t since it is returning the result of DataLayout::getTypeAllocSize which returns uint64_t, and the result of getCommonSize is assigned to a uint64_t variable. On 32-bit builds size_t is unsigned int and there are type errors. This was introduced in r278338. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278512 91177308-0d34-0410-b5e6-96231b3b80d8