llvm-project/lldb
David Spickett c687af0c30 [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
2020-09-17 10:26:16 +01:00
..
bindings [lldb/API] Add Breakpoint::SerializeToStructuredData to SBAPI 2020-09-11 20:09:55 +02:00
cmake [lldb] Remove redundant call to FindBacktrace (NFC) 2020-08-20 22:41:49 -07:00
docs [lldb/Docs] Correct LLDB_ENABLE_TESTS to LLDB_INCLUDE_TESTS 2020-09-09 11:07:57 -07:00
examples Harmonize Python shebang 2020-07-16 21:53:45 +02:00
include/lldb [lldb] Return FileSP and StreamFileSP by value in IOHandler (NFC) 2020-09-16 21:15:05 -07:00
packages/Python [lldb/test] Enable faulthandler in dotest 2020-09-16 14:26:40 -07:00
resources
scripts Harmonize Python shebang 2020-07-16 21:53:45 +02:00
source [lldb] Don't send invalid region addresses to lldb server 2020-09-17 10:26:16 +01:00
test [lldb] Don't send invalid region addresses to lldb server 2020-09-17 10:26:16 +01:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools Fix 132e57bc59 2020-09-14 10:54:17 -07:00
unittests Fix .debug_aranges parsing. 2020-09-15 11:50:57 -07:00
utils [lldb, tests] Correctly configure the yaml2obj paths 2020-09-10 10:10:28 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt Create ${swig_target}-scripts target instead of lldb-python-scripts 2020-08-22 19:36:37 -07:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py