summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-01-29 11:53:46 +0000
committerPavel Labath <labath@google.com>2018-01-29 11:53:46 +0000
commit3460957ea34a7cac1f61eeeed11da3f15097d4ef (patch)
treec4781759184be8c68e2a5b75fa9ee998bcbb8ca1 /llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
parent394e8056689e72467c44da544b0f8df064f9ecfb (diff)
downloadbcm5719-llvm-3460957ea34a7cac1f61eeeed11da3f15097d4ef.tar.gz
bcm5719-llvm-3460957ea34a7cac1f61eeeed11da3f15097d4ef.zip
Fix build broken by r323641
The call to ScopedPrinter::printNumber with size_t argument was ambiguous (I think) on 32-bit builds. Explicitly cast to a 64-bit int to avoid this. llvm-svn: 323642
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp b/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
index 3c7dc98e1f6..203f8849974 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
@@ -201,7 +201,7 @@ LLVM_DUMP_METHOD void AppleAcceleratorTable::dump(raw_ostream &OS) const {
Hdr.dump(W);
W.printNumber("DIE offset base", HdrData.DIEOffsetBase);
- W.printNumber("Number of atoms", HdrData.Atoms.size());
+ W.printNumber("Number of atoms", uint64_t(HdrData.Atoms.size()));
SmallVector<DWARFFormValue, 3> AtomForms;
{
ListScope AtomsScope(W, "Atoms");
OpenPOWER on IntegriCloud