[Lldb-commits] [lldb] Add `SBModule.SetLocateDwoCallback` (PR #69517)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 18 19:25:49 PDT 2023


================
@@ -296,6 +296,20 @@ class LLDB_API SBModule {
   /// Remove any global modules which are no longer needed.
   static void GarbageCollectAllocatedModules();
 
+  /// Set a callback which is called to find separate DWARF DWO debug info
+  /// files.
+  ///
+  /// This is useful when DWO files have been moved, or when the symbol file
+  /// contains relative paths to the DWO files.
+  ///
+  /// If the callback fails to
+  /// find the DWO file (`located_dwo_file_spec` is unset), then LLDB will fall
+  /// back to the default search locations. The callback will be cleared if
+  /// `nullptr` is set.
+  /// `comp_dir` may be `nullptr`.
----------------
clayborg wrote:

Fix indentation

https://github.com/llvm/llvm-project/pull/69517


More information about the lldb-commits mailing list