[all-commits] [llvm/llvm-project] 6f2423: [lldb] Allow SymbolFileDWARFDebugMap to register m...

Augusto Noronha via All-commits all-commits at lists.llvm.org
Wed Oct 19 13:50:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f2423c6fe97bec77da66d87a7a997917f6b489e
      https://github.com/llvm/llvm-project/commit/6f2423c6fe97bec77da66d87a7a997917f6b489e
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
    A lldb/test/API/lang/c/full_lto_stepping/Makefile
    A lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
    A lldb/test/API/lang/c/full_lto_stepping/foo.c
    A lldb/test/API/lang/c/full_lto_stepping/foo.h
    A lldb/test/API/lang/c/full_lto_stepping/main.c

  Log Message:
  -----------
  [lldb] Allow SymbolFileDWARFDebugMap to register multiple compile units

Currently, SymbolFileDWARFDebugMap works on the assumption that there is
only one compile unit per object file. This patch documents this
limitation (when using the general SymbolFile API), and allows users of
the concrete SymbolFileDWARFDebugMap class to find out about these extra
compile units.

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




More information about the All-commits mailing list