[all-commits] [llvm/llvm-project] 6aa94c: [DWARF] Add printout for op-index

David via All-commits all-commits at lists.llvm.org
Wed Jul 12 03:12:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6aa94c64a532237674433713a70ec2bda57b4fed
      https://github.com/llvm/llvm-project/commit/6aa94c64a532237674433713a70ec2bda57b4fed
  Author: David Stenberg <david.stenberg at ericsson.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

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

  Log Message:
  -----------
  [DWARF] Add printout for op-index

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.

Reviewed By: StephenTozer

Differential Revision: https://reviews.llvm.org/D152535




More information about the All-commits mailing list