aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBDebugger.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2024-09-05 12:19:31 -0700
committerGitHub <noreply@github.com>2024-09-05 12:19:31 -0700
commita0dd90eb7dc318c9b3fccb9ba02e1e22fb073094 (patch)
treef03fbc20be24f82712bceb984e1a2a0afe528bf9 /lldb/source/API/SBDebugger.cpp
parent5e1e6a689c82aaf2b7af72e074c95889a11d3a78 (diff)
downloadllvm-a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094.zip
llvm-a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094.tar.gz
llvm-a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094.tar.bz2
[lldb] Make conversions from llvm::Error explicit with Status::FromEr… (#107163)
…ror() [NFC]
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r--lldb/source/API/SBDebugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 7250157..c226acc 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -220,7 +220,7 @@ lldb::SBError SBDebugger::InitializeWithErrorHandling() {
SBError error;
if (auto e = g_debugger_lifetime->Initialize(
std::make_unique<SystemInitializerFull>(), LoadPlugin)) {
- error.SetError(Status(std::move(e)));
+ error.SetError(Status::FromError(std::move(e)));
}
return error;
}