diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-08-12 14:55:43 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-08-12 14:55:43 +0000 |
commit | ad7eb9db466874dbc28c0dc2fbeb7226bbd9004b (patch) | |
tree | ce1677affa7568531c5daa0defcf9aee06e1779e /llvm/lib/Support/YAMLParser.cpp | |
parent | 2cc9da9a654ca1f9f90d1eaaea889516074f975f (diff) | |
download | bcm5719-llvm-ad7eb9db466874dbc28c0dc2fbeb7226bbd9004b.tar.gz bcm5719-llvm-ad7eb9db466874dbc28c0dc2fbeb7226bbd9004b.zip |
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.
llvm-svn: 278512
Diffstat (limited to 'llvm/lib/Support/YAMLParser.cpp')
0 files changed, 0 insertions, 0 deletions