Skip to content

Commit 154cda1

Browse files
committed
Fix logic in PluginManager
1 parent b8af394 commit 154cda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Core/PluginManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ Status PluginManager::SaveCore(const lldb::ProcessSP &process_sp,
971971
options.SetProcess(process_sp);
972972

973973
// Make sure the process sp is the same as the one we are using.
974-
if (options_sp != process_sp) {
974+
if (options_sp && options_sp != process_sp) {
975975
error = Status::FromErrorString(
976976
"Save Core Options configured for a different process.");
977977
return error;

0 commit comments

Comments
 (0)