aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/StringExtractorGDBRemote.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-08-09 21:25:18 +0200
committerMichał Górny <mgorny@moritz.systems>2021-09-10 11:09:35 +0200
commit21e2d7ce43c42df5d60a2805c801b8f1eda7919c (patch)
tree65215c157754b83f3fd24df707a6bd4ae5478a0d /lldb/source/Utility/StringExtractorGDBRemote.cpp
parent7d42eb3af7792fc3e8429f8a1581fd8c7dc5e7f5 (diff)
downloadllvm-21e2d7ce43c42df5d60a2805c801b8f1eda7919c.zip
llvm-21e2d7ce43c42df5d60a2805c801b8f1eda7919c.tar.gz
llvm-21e2d7ce43c42df5d60a2805c801b8f1eda7919c.tar.bz2
[lldb] [gdb-remote] Implement fallback to vFile:stat for GetFileSize()
Implement a fallback to getting the file size via vFile:stat packet when the remote server does not implement vFile:size. This makes it possible to query file sizes from remote gdbserver. Note that unlike vFile:size, the fallback will not work if the server is unable to open the file. While at it, add a few tests for the 'platform get-size' command. Differential Revision: https://reviews.llvm.org/D107780
Diffstat (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions