[PATCH] D147202: [dwarfdump] Fix .debug_line verification for DWARF 5

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 00:29:41 PDT 2023


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, dblaikie, probinson.
Herald added subscribers: cmtice, hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: All.
JDevlieghere requested review of this revision.
Herald added subscribers: jplehr, sstefan1, MaskRay.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.

DWARF 5 uses a 0-based index while previous versions use a 1-based index. Fix the verifier and add a test.


https://reviews.llvm.org/D147202

Files:
  llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
  llvm/test/tools/llvm-dwarfdump/X86/verify_dwarf5_debug_line.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147202.509562.patch
Type: text/x-patch
Size: 12046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/26b14aa1/attachment.bin>


More information about the llvm-commits mailing list