[all-commits] [llvm/llvm-project] 745e8b: [lldb] Remove LocateSymbolFile (#71301)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sun Nov 5 08:26:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 745e8bfd1ade216c909074153d2dc9eb39d4adb7
      https://github.com/llvm/llvm-project/commit/745e8bfd1ade216c909074153d2dc9eb39d4adb7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-11-05 (Sun, 05 Nov 2023)

  Changed paths:
    M lldb/include/lldb/Symbol/SymbolLocator.h
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Core/DynamicLoader.cpp
    M lldb/source/Core/Module.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
    M lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
    M lldb/source/Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp
    M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
    M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
    M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
    M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
    M lldb/source/Symbol/CMakeLists.txt
    R lldb/source/Symbol/LocateSymbolFile.cpp
    A lldb/source/Symbol/SymbolLocator.cpp
    M lldb/unittests/Symbol/LocateSymbolFileTest.cpp

  Log Message:
  -----------
  [lldb] Remove LocateSymbolFile (#71301)

This completes the conversion of LocateSymbolFile into a SymbolLocator
plugin. The only remaining function is DownloadSymbolFileAsync which
doesn't really fit into the plugin model, and therefore moves into the
SymbolLocator class, while still relying on the plugins to do the
underlying work.




More information about the All-commits mailing list