[PATCH] D152536: [DWARF] Allow op-index in line number programs

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 06:23:24 PDT 2023


dstenb updated this revision to Diff 539055.
dstenb edited the summary of this revision.
dstenb added a comment.

- Add recoverable error describing that support for maximum_operations_per_instruction > 1 is experimental, and that the line number information may be incorrect.
- Bring back an error for maximum_operations_per_instruction = 0, and upgrade that error message from "not supported", to "invalid".
- This replaces the MaxOpsPerInstFixture with two explicit test cases for maximum_operations_per_instruction = 0. I could not reuse that fixture for maximum_operations_per_instruction > 1, since the advance would be done with MaxOpsPerInst > 1 so the existing expects in the fixture would fail.


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

https://reviews.llvm.org/D152536

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/test/MC/ELF/RISCV/gen-dwarf.s
  llvm/test/tools/llvm-dwarfdump/X86/tombstone.s
  llvm/test/tools/llvm-dwarfdump/X86/verbose.test
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152536.539055.patch
Type: text/x-patch
Size: 28881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/63763702/attachment.bin>


More information about the llvm-commits mailing list