[Lldb-commits] [PATCH] D143236: [lldb] Add a way to get a scripted process implementation from the SBAPI

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 2 17:37:42 PST 2023


bulbazord added a comment.

This is an interesting idea.

I suppose I find it a little strange that something from the SB API is passing a void * back to the caller instead of something more well defined (like another SB class or some primitive) but I suppose that's not the worst thing in the world. I'm not sure how else you would get a C++ method to return a type that is dependent on which language the method was called from...



================
Comment at: lldb/bindings/interface/SBProcess.i:347-348
 
+    void*
+    GetImplementation();
+
----------------
Maybe a docstring is in order? Something to explain how to use this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143236



More information about the lldb-commits mailing list