llvm-capstone/lldb
Pavel Labath 4f0a377280 Fix TestGdbRemoteLibrariesSvr4Support
D62502 had a bug (visible only with D62503 reverted), where it would
error out if attempting to read a string from memory and the memory page
after the string happened to be unmapped.

This fixes the problem by checking for whether ReadMemory read *any*
bytes, instead of checking whether it returned an error. A greater
question is whether ReadMemory should even return an error if it read at
least one byte, but I'm leaving that for a separate patch.

llvm-svn: 364748
2019-07-01 12:00:25 +00:00
..
cmake Specify log level for CMake messages (less stderr) 2019-06-19 15:25:32 +00:00
docs [Docs] Modernize references to macOS 2019-05-30 16:46:22 +00:00
examples Use the // integer divide operator in these 2019-06-26 21:41:07 +00:00
include/lldb Get the expression parser to handle missing weak symbols. 2019-06-28 21:40:05 +00:00
lit DWARF: Add support for type units+split dwarf combo 2019-06-25 06:59:48 +00:00
lldb.xcodeproj Don't link against the DebugSymbols private framework; try to dlopen 2019-06-24 22:08:43 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite Replace tabs with spaces. 2019-06-29 18:32:16 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts Make SBDebugger.RunCommandInterpreter callable from Python. 2019-05-15 00:08:55 +00:00
source Fix TestGdbRemoteLibrariesSvr4Support 2019-07-01 12:00:25 +00:00
test [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [CMake] Check that a certificate for lldb is present at build time. 2019-06-25 17:13:24 +00:00
unittests Add a sanity check to the domain socket tests. 2019-06-27 16:45:23 +00:00
utils [CMake] Fix lldb-dotest for single-config generators in standalone builds 2019-06-13 17:35:43 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py