[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 16 20:22:05 PST 2023


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

Actually, can the `SBFile &` be marked `const`? This shouldn't modify the SBFile if I'm reading this correctly.

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


More information about the lldb-commits mailing list