projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47aa9a2
)
Fix compile error when building with C++11 - clang thinks that PRIx64 is a user-defin...
author
Marshall Clow
<mclow@qualcomm.com>
Mon, 27 Aug 2012 22:53:35 +0000
(22:53 +0000)
committer
Marshall Clow
<mclow@qualcomm.com>
Mon, 27 Aug 2012 22:53:35 +0000
(22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162704
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/DWARFDebugRangeList.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/DWARFDebugRangeList.cpp
b/lib/DebugInfo/DWARFDebugRangeList.cpp
index 8012e306c78d3dc8fbe548a8cb95add0725a3746..fa15bb0ee55dcc14f5e5cddda90dd9d31f774c81 100644
(file)
--- 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);
}