From: Peter Collingbourne Date: Fri, 31 Mar 2017 02:32:53 +0000 (+0000) Subject: Fix 32-bit build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c34fa17ac0fbf65d4c5aa45f1c5bdd14b35e9d4;p=llvm Fix 32-bit build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299169 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/IRSymtab.h b/include/llvm/Object/IRSymtab.h index d3129b2db69..7ce6fa50e6d 100644 --- a/include/llvm/Object/IRSymtab.h +++ b/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; }