[all-commits] [llvm/llvm-project] c23016: [llvm-debuginfo-analyzer] Fixed some DWARF related...

Adam Yang via All-commits all-commits at lists.llvm.org
Wed Aug 27 11:10:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2301605a9e701040b5040349822c7874a57c936
      https://github.com/llvm/llvm-project/commit/c2301605a9e701040b5040349822c7874a57c936
  Author: Adam Yang <hanbyang at microsoft.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/01-dwarf-print-basic-details.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/01-dwarf-select-logical-elements.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/02-dwarf-logical-lines.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/03-dwarf-incorrect-lexical-scope-typedef.test
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/06-dwarf-full-logical-view.test
    A llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
    A llvm/test/tools/llvm-debuginfo-analyzer/DWARF/amdgpu-ranges.s
    A llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s
    M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-incorrect-logical-instructions.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-print-basic-details.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/02-wasm-logical-lines.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/03-wasm-incorrect-lexical-scope-typedef.test
    M llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/06-wasm-full-logical-view.test
    M llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] Fixed some DWARF related bugs (#153318)

This PR fixes two bugs in LogicalView:

- `DW_AT_ranges` are not being read correctly
- `DW_AT_high_pc` for scopes are treated as inclusive

The test changes for llvm-debug-analyzer are mostly to address the
DW_AT_high_pc change. There is a new test that further verifies the
fixes.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list