]> granicus.if.org Git - llvm/commitdiff
Fix 32-bit build.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 31 Mar 2017 02:32:53 +0000 (02:32 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 31 Mar 2017 02:32:53 +0000 (02:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299169 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/IRSymtab.h

index d3129b2db69ad60f8336d38a9f69b0858c68ad05..7ce6fa50e6da32ab521f7fac039510b7d1989106 100644 (file)
@@ -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;
   }