summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 16:01:13 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 16:01:13 +0000
commit79730ad07d6bdc2bcae5694aad884090c4f2b9cf (patch)
tree44139098e29bf90365d9af456c97604026597170 /llvm/lib/DebugInfo/DWARFDebugLine.cpp
parentcda5732e52b4d9971e4c1525a8062080817f44da (diff)
downloadbcm5719-llvm-79730ad07d6bdc2bcae5694aad884090c4f2b9cf.tar.gz
bcm5719-llvm-79730ad07d6bdc2bcae5694aad884090c4f2b9cf.zip
Audited all the format strings in libDebugInfo and fixed those that didn't match the types.
llvm-svn: 143814
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugLine.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugLine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARFDebugLine.cpp
index 0248ad3fcbb..117fa31aa86 100644
--- a/llvm/lib/DebugInfo/DWARFDebugLine.cpp
+++ b/llvm/lib/DebugInfo/DWARFDebugLine.cpp
@@ -41,8 +41,9 @@ void DWARFDebugLine::Prologue::dump(raw_ostream &OS) const {
"----------------\n";
for (uint32_t i = 0; i < FileNames.size(); ++i) {
const FileNameEntry& fileEntry = FileNames[i];
- OS << format("file_names[%3u] %4u ", i+1, fileEntry.DirIdx)
- << format("0x%8.8x 0x%8.8x ", fileEntry.ModTime, fileEntry.Length)
+ OS << format("file_names[%3u] %4" PRIu64 " ", i+1, fileEntry.DirIdx)
+ << format("0x%8.8" PRIx64 " 0x%8.8" PRIx64 " ",
+ fileEntry.ModTime, fileEntry.Length)
<< fileEntry.Name << '\n';
}
}
OpenPOWER on IntegriCloud