[PATCH] D152535: [DWARF] Add printout for op-index

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 06:59:31 PDT 2023


dstenb created this revision.
dstenb added reviewers: jhenderson, probinson, MaskRay.
dstenb added a project: debug-info.
Herald added subscribers: luke, ormris, frasercrmck, cmtice, kerbowa, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, arphaman, the_o, brucehoult, MartinMosbeck, rogfer01, steven_wu, atanasyan, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, jvesely, sdardis, emaste.
Herald added a reviewer: JDevlieghere.
Herald added a project: All.
dstenb requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

This is a preparatory patch for extending DWARFDebugLine to properly
parse line number programs with maximum_operations_per_instruction > 1
for VLIW targets.

Add some scaffolding for handling op-index in line number programs, and
add printouts for that in the table. As this affects a lot of tests,
this is done in a separate commit to get a cleaner review for the actual
op-index implementation.

Verbose printouts are not present in many tests, and adding op-index to
those will require a bit more code changes, so that is done in the
actual implementation patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152535

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll
  llvm/test/DebugInfo/CSKY/dwarf-csky-relocs.ll
  llvm/test/DebugInfo/Generic/multiline.ll
  llvm/test/DebugInfo/Generic/unconditional-branch.ll
  llvm/test/DebugInfo/MIR/X86/empty-inline.mir
  llvm/test/DebugInfo/Mips/delay-slot.ll
  llvm/test/DebugInfo/Mips/fn-call-line.ll
  llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
  llvm/test/DebugInfo/X86/basic-block-sections_1.ll
  llvm/test/DebugInfo/X86/discriminator.ll
  llvm/test/DebugInfo/X86/discriminator2.ll
  llvm/test/DebugInfo/X86/discriminator3.ll
  llvm/test/DebugInfo/X86/ending-run.ll
  llvm/test/DebugInfo/X86/line-info.ll
  llvm/test/DebugInfo/X86/multiple-epilogue.ll
  llvm/test/DebugInfo/XCOFF/empty-prolog.ll
  llvm/test/DebugInfo/XCOFF/empty.ll
  llvm/test/Linker/subprogram-linkonce-weak.ll
  llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
  llvm/test/MC/ARM/dwarf-asm-multiple-sections.s
  llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s
  llvm/test/MC/ARM/dwarf-asm-single-section.s
  llvm/test/MC/AsmParser/directive_file-g.s
  llvm/test/MC/AsmParser/directive_loc_2.s
  llvm/test/MC/AsmParser/line-marker-inside-macro.s
  llvm/test/MC/ELF/discriminator.s
  llvm/test/MC/MachO/gen-dwarf-cpp.s
  llvm/test/MC/MachO/gen-dwarf.s
  llvm/test/tools/dsymutil/X86/basic-linking-x86.test
  llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
  llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
  llvm/test/tools/llvm-dwarfdump/ARM/aligned_line_tables.s
  llvm/test/tools/llvm-dwarfdump/X86/brief.s
  llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lne-end-sequence.s
  llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lns-copy.s
  llvm/test/tools/llvm-dwarfdump/X86/debug-line.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_offset.test
  llvm/test/tools/llvm-dwarfdump/X86/verbose.test
  llvm/test/tools/llvm-dwarfdump/XCOFF/basic.test
  llvm/test/tools/llvm-symbolizer/only-empty-ranges.s
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152535.529948.patch
Type: text/x-patch
Size: 67197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/115694ce/attachment-0001.bin>


More information about the llvm-commits mailing list