aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2012-08-27 22:53:35 +0000
committerMarshall Clow <mclow@qualcomm.com>2012-08-27 22:53:35 +0000
commitef271cce0a6df2a44acd915e164dd243cff18f35 (patch)
treef523dd9129269c24295757d31900dc33b6c82ab8 /llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
parent988a47d7e558c398552c5b867df0639349be3e3e (diff)
downloadllvm-ef271cce0a6df2a44acd915e164dd243cff18f35.zip
llvm-ef271cce0a6df2a44acd915e164dd243cff18f35.tar.gz
llvm-ef271cce0a6df2a44acd915e164dd243cff18f35.tar.bz2
Fix compile error when building with C++11 - clang thinks that PRIx64 is a user-defined suffix or something
llvm-svn: 162704
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugRangeList.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugRangeList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp b/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
index 8012e30..fa15bb0 100644
--- a/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
+++ b/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
@@ -50,8 +50,8 @@ bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) {
void DWARFDebugRangeList::dump(raw_ostream &OS) const {
for (int i = 0, n = Entries.size(); i != n; ++i) {
const char *format_str = (AddressSize == 4
- ? "%08x %08"PRIx64" %08"PRIx64"\n"
- : "%08x %016"PRIx64" %016"PRIx64"\n");
+ ? "%08x %08" PRIx64 " %08" PRIx64 "\n"
+ : "%08x %016" PRIx64 " %016" PRIx64 "\n");
OS << format(format_str, Offset, Entries[i].StartAddress,
Entries[i].EndAddress);
}