summaryrefslogtreecommitdiff
path: root/lib/DebugInfo
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
commite1630e01dee7f131eda6c1ddac4b6776fa1b31f4 (patch)
treefcb56943c2191f0a123f775c0d7307356ceae3d7 /lib/DebugInfo
parent47aa9a2bb521994509d21179b968471531986eed (diff)
downloadllvm-e1630e01dee7f131eda6c1ddac4b6776fa1b31f4.tar.gz
llvm-e1630e01dee7f131eda6c1ddac4b6776fa1b31f4.tar.bz2
llvm-e1630e01dee7f131eda6c1ddac4b6776fa1b31f4.tar.xz
Fix compile error when building with C++11 - clang thinks that PRIx64 is a user-defined suffix or something
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r--lib/DebugInfo/DWARFDebugRangeList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFDebugRangeList.cpp b/lib/DebugInfo/DWARFDebugRangeList.cpp
index 8012e306c7..fa15bb0ee5 100644
--- a/lib/DebugInfo/DWARFDebugRangeList.cpp
+++ b/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);
}