From: Peter Collingbourne Date: Fri, 31 Mar 2017 02:32:53 +0000 (+0000) Subject: Fix 32-bit build. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f7fa72f82c9eb002d2caea56e110587ffdba1d4;p=platform%2Fupstream%2Fllvm.git Fix 32-bit build. llvm-svn: 299169 --- diff --git a/llvm/include/llvm/Object/IRSymtab.h b/llvm/include/llvm/Object/IRSymtab.h index d3129b2..7ce6fa5 100644 --- a/llvm/include/llvm/Object/IRSymtab.h +++ b/llvm/include/llvm/Object/IRSymtab.h @@ -167,7 +167,7 @@ struct Symbol { bool isFormatSpecific() const { return (Flags >> S::FB_format_specific) & 1; } bool isUnnamedAddr() const { return (Flags >> S::FB_unnamed_addr) & 1; } - size_t getCommonSize() const { + uint64_t getCommonSize() const { assert(isCommon()); return CommonSize; }