aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorEbuka Ezike <yerimyah1@gmail.com>2025-06-04 11:33:35 +0100
committerGitHub <noreply@github.com>2025-06-04 11:33:35 +0100
commit7214a3d3da851018a96ac85060a2f9aeb7715f7f (patch)
treeabe801a102a32e27b4e5b3ebefe1e01bcb6aae2b /lldb/source/Commands/CommandObjectProcess.cpp
parentcf348e886d0b30a4bf3e810efc00b2da0f7a4322 (diff)
downloadllvm-7214a3d3da851018a96ac85060a2f9aeb7715f7f.zip
llvm-7214a3d3da851018a96ac85060a2f9aeb7715f7f.tar.gz
llvm-7214a3d3da851018a96ac85060a2f9aeb7715f7f.tar.bz2
[lldb] Do not accept invalid `process save-core` plugins (#142684)
Fixes #142581
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index d0f5eaf..b1f243c 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -1303,7 +1303,7 @@ public:
llvm_unreachable("Unimplemented option");
}
- return {};
+ return error;
}
void OptionParsingStarting(ExecutionContext *execution_context) override {