summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFDebugArangeSet.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 08:57:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 08:57:40 +0000
commit41a964931a0e0943ceef28b0c691843bf8ca87b7 (patch)
treece6a507970b4633d36e6d800531f0c1c50860fc3 /lib/DebugInfo/DWARFDebugArangeSet.cpp
parent965d2feeddd4bb672396e620b8c2f402f7bb99d6 (diff)
downloadllvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.gz
llvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.bz2
llvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.xz
Add more PRI.64 macros for MSVC and use them throughout the codebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugArangeSet.cpp')
-rw-r--r--lib/DebugInfo/DWARFDebugArangeSet.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFDebugArangeSet.cpp b/lib/DebugInfo/DWARFDebugArangeSet.cpp
index b0c0354383..2efbfd1f92 100644
--- a/lib/DebugInfo/DWARFDebugArangeSet.cpp
+++ b/lib/DebugInfo/DWARFDebugArangeSet.cpp
@@ -122,8 +122,9 @@ void DWARFDebugArangeSet::dump(raw_ostream &OS) const {
const uint32_t hex_width = Header.AddrSize * 2;
for (DescriptorConstIter pos = ArangeDescriptors.begin(),
end = ArangeDescriptors.end(); pos != end; ++pos)
- OS << format("[0x%*.*llx -", hex_width, hex_width, pos->Address)
- << format(" 0x%*.*llx)\n", hex_width, hex_width, pos->getEndAddress());
+ OS << format("[0x%*.*" PRIx64 " -", hex_width, hex_width, pos->Address)
+ << format(" 0x%*.*" PRIx64 ")\n",
+ hex_width, hex_width, pos->getEndAddress());
}