[all-commits] [llvm/llvm-project] 9000a3: Manual DWARF index: don't skip over -gmodules debu...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Fri Jan 27 16:00:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9000a36f5cbd2993cd9c746610f7666ed173991a
      https://github.com/llvm/llvm-project/commit/9000a36f5cbd2993cd9c746610f7666ed173991a
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
    M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
    A lldb/test/Shell/SymbolFile/DWARF/Inputs/pch.h
    A lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c

  Log Message:
  -----------
  Manual DWARF index: don't skip over -gmodules debug info

This fixes a regression introduced by
https://reviews.llvm.org/D131437. The intention of the patch was to
avoid indexing DWO skeleton units, but it also skipped over full DWARF
compile units linked via a -gmodules DW_AT_dwo_name attribute. This
patch restores the functionality and adds a test for it.

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




More information about the All-commits mailing list