[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
================
@@ -102,10 +102,10 @@ void ProcessKDP::Terminate() {
lldb::ProcessSP ProcessKDP::CreateInstance(TargetSP target_sp,
ListenerSP listener_sp,
- const FileSpec *crash_file_path,
+ FileSP crash_file_sp,
bool can_connect) {
lldb::ProcessSP process_sp;
- if (crash_file_path == NULL)
+ if (crash_file_sp == NULL)
----------------
bulbazord wrote:
Since you're already here, you can drop the `== NULL` and make it a little nicer.
https://github.com/llvm/llvm-project/pull/71769
More information about the lldb-commits
mailing list