[PATCH] D74198: [DebugInfo] Add support for DWARF64 into DWARFDebugAddr.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 08:54:51 PST 2020


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp:68
+  } else if (Length >= dwarf::DW_LENGTH_lo_reserved) {
+    uint64_t TmpLength = Length;
     invalidateLength();
----------------
DiagnosticLength?


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp:159
+  if (Length) {
+    int LengthFieldWidth = (Format == dwarf::DwarfFormat::DWARF64) ? 16 : 8;
+    OS << format("Address table header: length = 0x%0*" PRIx64
----------------
unsigned?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74198/new/

https://reviews.llvm.org/D74198





More information about the llvm-commits mailing list