================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to