[all-commits] [llvm/llvm-project] 3842de: [lldb] [gdb-remote client] Refactor handling qSupp...
Michał Górny via All-commits
all-commits at lists.llvm.org
Mon Apr 12 15:23:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3842de49f6551f597b4c7c78caa8ba7003755cec
https://github.com/llvm/llvm-project/commit/3842de49f6551f597b4c7c78caa8ba7003755cec
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
Log Message:
-----------
[lldb] [gdb-remote client] Refactor handling qSupported
Refactor the qSupported handler to split the reply into an array,
and identify features within the array rather than searching the string
for partial matches. While at it, use StringRef.split() to process
the compression list instead of reinventing the wheel.
Switch the arguments to MaybeEnableCompression() to use an ArrayRef
of StringRefs to simplify parameter passing from GetRemoteQSupported().
Differential Revision: https://reviews.llvm.org/D100146
More information about the All-commits
mailing list