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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 9 09:37:36 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);
----------------
bulbazord wrote:

+1, please don't add a new API that gives no feedback about what may have gone wrong.

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


More information about the lldb-commits mailing list