[all-commits] [llvm/llvm-project] 031e4e: [dwarfdump] Fix .debug_line verification for DWARF 5

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Mar 31 09:29:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 031e4e53e88c96836759994891257cd6224612ab
      https://github.com/llvm/llvm-project/commit/031e4e53e88c96836759994891257cd6224612ab
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/verify_dwarf5_debug_line.yaml

  Log Message:
  -----------
  [dwarfdump] Fix .debug_line verification for DWARF 5

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

Differential revision: https://reviews.llvm.org/D147202




More information about the All-commits mailing list