diff options
author | Adrian Prantl <aprantl@apple.com> | 2024-09-05 12:19:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 12:19:31 -0700 |
commit | a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094 (patch) | |
tree | f03fbc20be24f82712bceb984e1a2a0afe528bf9 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 5e1e6a689c82aaf2b7af72e074c95889a11d3a78 (diff) | |
download | llvm-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/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 55d76ca..f6b1db7 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -1745,7 +1745,7 @@ Status GDBRemoteCommunicationClient::LoadQXferMemoryMap() { llvm::Expected<std::string> xml = ReadExtFeature("memory-map", ""); if (!xml) - return Status(xml.takeError()); + return Status::FromError(xml.takeError()); XMLDocument xml_document; |