[Lldb-commits] [PATCH] D68734: update SBDebugger::SetInputFile() etc to work on native Files

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 01:44:52 PDT 2019


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

Looks fine to me. The public-consumptionness of the FileSP overloads was also discussed in D68546 <https://reviews.llvm.org/D68546>, and I currently do not see a better solution than this one. The way I've resolved this issue for myself is to look at the FileSP argument as a placeholder for some hypothetical future feature which would allow C++ users to pass in custom file objects into lldb (i.e. do the same thing that python can do now). If/when we have that, we can replace FileSP with the new thing, and have the python objects typemap to that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68734





More information about the lldb-commits mailing list