diff options
author | Michał Górny <mgorny@moritz.systems> | 2021-08-09 21:25:18 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2021-09-10 11:09:35 +0200 |
commit | 21e2d7ce43c42df5d60a2805c801b8f1eda7919c (patch) | |
tree | 65215c157754b83f3fd24df707a6bd4ae5478a0d /lldb/source/Utility/StringExtractorGDBRemote.cpp | |
parent | 7d42eb3af7792fc3e8429f8a1581fd8c7dc5e7f5 (diff) | |
download | llvm-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