[llvm] r299169 - Fix 32-bit build.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 19:32:54 PDT 2017


Author: pcc
Date: Thu Mar 30 21:32:53 2017
New Revision: 299169

URL: http://llvm.org/viewvc/llvm-project?rev=299169&view=rev
Log:
Fix 32-bit build.

Modified:
    llvm/trunk/include/llvm/Object/IRSymtab.h

Modified: llvm/trunk/include/llvm/Object/IRSymtab.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/IRSymtab.h?rev=299169&r1=299168&r2=299169&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/IRSymtab.h (original)
+++ llvm/trunk/include/llvm/Object/IRSymtab.h Thu Mar 30 21:32:53 2017
@@ -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;
   }




More information about the llvm-commits mailing list