diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
| commit | f3da5290282d5a0b98378148e76d60a80944968e (patch) | |
| tree | c5511f1d53d1ae1f12b207ae11ce8a54bb61d4e0 /llvm/lib/DebugInfo/DWARFDebugAranges.cpp | |
| parent | 611cb6445343a27f710100b1d2b11fd375d9e26f (diff) | |
| download | bcm5719-llvm-f3da5290282d5a0b98378148e76d60a80944968e.tar.gz bcm5719-llvm-f3da5290282d5a0b98378148e76d60a80944968e.zip | |
Add more PRI.64 macros for MSVC and use them throughout the codebase.
llvm-svn: 143799
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugAranges.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugAranges.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp index 576d37d7813..17881453561 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp @@ -100,13 +100,14 @@ void DWARFDebugAranges::dump(raw_ostream &OS) const { const uint32_t num_ranges = getNumRanges(); for (uint32_t i = 0; i < num_ranges; ++i) { const Range &range = Aranges[i]; - OS << format("0x%8.8x: [0x%8.8llx - 0x%8.8llx)\n", range.Offset, - (uint64_t)range.LoPC, (uint64_t)range.HiPC()); + OS << format("0x%8.8x: [0x%8.8" PRIx64 " - 0x%8.8" PRIx64 ")\n", + range.Offset, (uint64_t)range.LoPC, (uint64_t)range.HiPC()); } } void DWARFDebugAranges::Range::dump(raw_ostream &OS) const { - OS << format("{0x%8.8x}: [0x%8.8llx - 0x%8.8llx)\n", Offset, LoPC, HiPC()); + OS << format("{0x%8.8x}: [0x%8.8" PRIx64 " - 0x%8.8" PRIx64 ")\n", + Offset, LoPC, HiPC()); } void DWARFDebugAranges::appendRange(uint32_t offset, uint64_t low_pc, |

