[all-commits] [llvm/llvm-project] 454eb8: [lldb] Initial plugin and test for SymbolLocatorSy...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Mar 6 01:07:45 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 454eb8bc0ac2a3a3e843440c7f45f3fdb32b40b3
      https://github.com/llvm/llvm-project/commit/454eb8bc0ac2a3a3e843440c7f45f3fdb32b40b3
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/SymStore/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/SymStore/SymbolLocatorSymStore.cpp
    A lldb/source/Plugins/SymbolLocator/SymStore/SymbolLocatorSymStore.h
    A lldb/source/Plugins/SymbolLocator/SymStore/SymbolLocatorSymStoreProperties.td
    M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
    A lldb/test/API/symstore/Makefile
    A lldb/test/API/symstore/TestSymStoreLocal.py
    A lldb/test/API/symstore/main.c

  Log Message:
  -----------
  [lldb] Initial plugin and test for SymbolLocatorSymStore (#183302)

Minimal infrastructure for a the SymbolLocator plugin that fetches debug
info from Microsoft SymStore repositories. More features will follow.

SymbolVendorPECOFF was tailored towards DWARF debug info so far. This
patch adds code to load the PDB path from the executable and not bail
out if DWARF sections are missing, so that in the PDB case we still
call `AddSymbolFileRepresentation()` in the very end of
`CreateInstance()`.

The API test in this patch mocks the directory layout from SymStore, so
it doesn't depend on `SymStore.exe` from the Windows SDK. It runs on all
platforms that link debug info in a PDB file, which is still just
Windows, but it could be cross-platform in principle.



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