[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 30 21:39:14 PDT 2025
================
@@ -87,6 +87,10 @@ class LLDB_API SBModuleSpec {
bool GetDescription(lldb::SBStream &description);
+ lldb::SBTarget GetTarget();
+
+ void SetTarget(lldb::SBTarget target);
----------------
clayborg wrote:
This needs header documentation explaining why it is needed. Something like:
```
/// Set the target to be used when resolving a module.
///
/// A target can help locate a module specified by a SBModuleSpec. The
/// target settings, like the executable and debug info search paths, can
/// be essential. The target's platform can also be used to locate or download
/// the specified module.
```
https://github.com/llvm/llvm-project/pull/160199
More information about the lldb-commits
mailing list