[Lldb-commits] [PATCH] D153734: [lldb][TargetGetModuleCallback] Call get module callback

Kazuki Sakamoto via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 11 11:35:08 PDT 2023


splhack updated this revision to Diff 539213.
splhack added a comment.

- Rename 'get module callback' to 'locate module callback'
- Enable C++ callback aside from Python callback
- Introduce LocateModuleCallback typedef to use std::function in order to capture callback and baton, to convert ModuleSpec/FileSpec from/to SBModuleSpec/SBFileSpec.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153734/new/

https://reviews.llvm.org/D153734

Files:
  lldb/include/lldb/Target/Platform.h
  lldb/include/lldb/Target/Target.h
  lldb/source/Target/Platform.cpp
  lldb/source/Target/Target.cpp
  lldb/unittests/Target/CMakeLists.txt
  lldb/unittests/Target/Inputs/AndroidModule.c
  lldb/unittests/Target/Inputs/AndroidModule.so
  lldb/unittests/Target/Inputs/AndroidModule.so.sym
  lldb/unittests/Target/Inputs/AndroidModule.unstripped.so
  lldb/unittests/Target/LocateModuleCallbackTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153734.539213.patch
Type: text/x-patch
Size: 39799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230711/cd38e9dc/attachment-0001.bin>


More information about the lldb-commits mailing list