From 0c34fa17ac0fbf65d4c5aa45f1c5bdd14b35e9d4 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 31 Mar 2017 02:32:53 +0000 Subject: [PATCH] Fix 32-bit build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299169 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/IRSymtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1