diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2017-09-27 10:00:27 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2017-09-27 10:00:27 +0000 |
commit | 777731ab2b866083f281fe8dd6a1c64de33210b7 (patch) | |
tree | c229fa7da47ae3f0cd9e7be269a9b4192acb8d3e /llvm/lib/DebugInfo | |
parent | 8c80061535d925df462e05aed212091ff7dcce6b (diff) | |
download | bcm5719-llvm-777731ab2b866083f281fe8dd6a1c64de33210b7.tar.gz bcm5719-llvm-777731ab2b866083f281fe8dd6a1c64de33210b7.zip |
[dwarfdump] Fix printing of .debug_line offset.
Fixes 32-bit buildbots:
http://bb.pgr.jp/builders/test-llvm-i686-linux-RA/builds/542
http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15/builds/11533
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/11494
llvm-svn: 314291
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index f6c8499c94e..d82a03e4fed 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -339,7 +339,7 @@ void DWARFContext::dump( uint32_t Offset = *StmtOffset; // Verbose dumping is done during parsing and not on the intermediate // representation. - OS << "debug_line[" << format("%16.16" PRIx64, Offset) << "]\n"; + OS << "debug_line[" << format("0x%8.8x", Offset) << "]\n"; if (DumpOpts.Verbose) { LineTable.parse(lineData, &Offset, &OS); } else { |