mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
Audited all the format strings in libDebugInfo and fixed those that didn't match the types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user