[Lldb-commits] [lldb] Add new API in SBTarget for loading core from SBFile (PR #71769)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 8 21:16:06 PST 2023


================
@@ -184,6 +184,8 @@ class LLDB_API SBTarget {
 
   SBProcess LoadCore(const char *core_file);
   SBProcess LoadCore(const char *core_file, lldb::SBError &error);
+  SBProcess LoadCore(SBFile &file);
----------------
JDevlieghere wrote:

Did you add this for consistency? I don't think we should be adding an overload without error handling.

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


More information about the lldb-commits mailing list