aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-10-07 14:23:26 +0200
committerPavel Labath <pavel@labath.sk>2021-10-08 10:43:37 +0200
commitf4145c074cb81441f2e4a965f618f9949fa4f071 (patch)
tree25b010afb02d5be830485ffc21fa6f05afc7ca61 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
parent3d7161e3c14c25a60a3c03aa4c07a1dc4e35511b (diff)
downloadllvm-f4145c074cb81441f2e4a965f618f9949fa4f071.zip
llvm-f4145c074cb81441f2e4a965f618f9949fa4f071.tar.gz
llvm-f4145c074cb81441f2e4a965f618f9949fa4f071.tar.bz2
[lldb/gdb-remote] Refactor ReadExtFeature
replace stl and lldb apis with standard llvm ones.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index 9b8b4cb..a199ef970 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -451,9 +451,8 @@ public:
GetModulesInfo(llvm::ArrayRef<FileSpec> module_file_specs,
const llvm::Triple &triple);
- bool ReadExtFeature(const lldb_private::ConstString object,
- const lldb_private::ConstString annex, std::string &out,
- lldb_private::Status &err);
+ llvm::Expected<std::string> ReadExtFeature(llvm::StringRef object,
+ llvm::StringRef annex);
void ServeSymbolLookups(lldb_private::Process *process);