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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 19 09:42:33 PDT 2023


================
@@ -677,3 +677,30 @@ void SBModule::GarbageCollectAllocatedModules() {
   const bool mandatory = false;
   ModuleList::RemoveOrphanSharedModules(mandatory);
 }
+
+void SBModule::SetLocateDwoCallback(lldb::SBModuleLocateDwoCallback callback,
+                                    void *baton) {
+  LLDB_INSTRUMENT();
----------------
bulbazord wrote:

the instrumentation macro needs all the arguments passed to the method.
```
LLDB_INSTRUMENT(callback, baton);
```

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


More information about the lldb-commits mailing list