commit | 777731ab2b866083f281fe8dd6a1c64de33210b7 | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Wed Sep 27 10:00:27 2017 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Wed Sep 27 10:00:27 2017 +0000 |
tree | c229fa7da47ae3f0cd9e7be269a9b4192acb8d3e | |
parent | 8c80061535d925df462e05aed212091ff7dcce6b [diff] [blame] |
[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
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index f6c8499..d82a03e 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -339,7 +339,7 @@ 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 {