[Lldb-commits] [lldb] [lldb] Add ScriptedSymbolLocator plugin for source file resolution (PR #181334)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 13 15:14:56 PST 2026
================
@@ -0,0 +1,163 @@
+# Scripted Symbol Locator Tutorial
+
+The **Scripted Symbol Locator** lets you write a Python class that tells LLDB
+where to find executables, symbol files, and source files for your debug
+targets. This is useful when your build artifacts live in a custom location,
+such as a symbol server or a local build-ID-indexed cache.
+
+## Quick Start
+
+1. **Write a locator class.** Create a Python file (e.g., `my_locator.py`)
+ with a class that implements the methods you need:
+
+ ```python
+ import os
+ import lldb
+
+ class MyLocator:
----------------
medismailben wrote:
We should derive this from the base class in the lldb python module
https://github.com/llvm/llvm-project/pull/181334
More information about the lldb-commits
mailing list