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

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


================
@@ -139,6 +139,13 @@ typedef void (*SBDebuggerDestroyCallback)(lldb::user_id_t debugger_id,
 typedef SBError (*SBPlatformLocateModuleCallback)(
     void *baton, const SBModuleSpec &module_spec, SBFileSpec &module_file_spec,
     SBFileSpec &symbol_file_spec);
+
+typedef SBError (*SBModuleLocateDwoCallback)(void *baton,
+                                             const SBFileSpec &objfile_spec,
+                                             const char *dwo_name,
+                                             const char *comp_dir,
+                                             const int64_t dwo_id,
----------------
clayborg wrote:

use "uint64_t" instead of "int64_t" for "dwo_id"

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


More information about the lldb-commits mailing list