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
Loading
Please register or sign in to comment