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)
llvm-svn: 299169

llvm/include/llvm/Object/IRSymtab.h

index d3129b2..7ce6fa5 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;
   }