[all-commits] [llvm/llvm-project] c687af: [lldb] Don't send invalid region addresses to lldb...
David Spickett via All-commits
all-commits at lists.llvm.org
Thu Sep 17 02:26:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c687af0c30b4dbdc9f614d5e061c888238e0f9c5
https://github.com/llvm/llvm-project/commit/c687af0c30b4dbdc9f614d5e061c888238e0f9c5
Author: David Spickett <david.spickett at linaro.org>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/test/API/functionalities/memory-region/TestMemoryRegion.py
Log Message:
-----------
[lldb] Don't send invalid region addresses to lldb server
Previously when <addr> in "memory region <addr>" didn't
parse correctly, we'd print an error then also ask lldb-server
for a region containing LLDB_INVALID_ADDRESS.
(lldb) memory region not_an_address
error: invalid address argument "not_an_address"...
error: Server returned invalid range
Only send the command to lldb-server if the address
parsed correctly.
(lldb) memory region not_an_address
error: invalid address argument "not_an_address"...
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D87694
More information about the All-commits
mailing list