llvm/lldb
Pavel Labath cf2c8e419d [lldb] Fix TestDyldExecLinux with xml enabled
NativeProcessLinux is not able to properly read libraries-svr4 data when
running with ld.so as the "main" executable. Normally, this is not a big
problem, as it returns an error message, and lldb can fallback to manual
library loading.

Unfortunately, lldb-server also does not clear cached svr4 data on exec,
which means that it does *not* return an error when the application
execs from the "regular" to the "ld.so" mode. Instead it returns
incorrect data (it is missing the main executable) and causes
TestDyldExecLinux to fail (but only when building with xml support
enabled).

This patch makes ensures that cached process data is cleared on exec,
fixing the test. Since TestDyldExecLinux has shown to be sensitive to
the way we read library info, I fork it into two (with svr4 enabled and
disabled).
2022-06-14 11:44:59 +02:00
..
bindings [lldb] Add missing UTF-8 char basic type entries 2022-06-13 17:33:46 +00:00
cmake [lldb] Disable modules in Apple-lldb-base 2022-05-24 17:17:14 -07:00
docs [lldb] Add missing UTF-8 char basic type entries 2022-06-13 17:33:46 +00:00
examples [lldb/crashlog] Show help when the command is called without any argument 2022-06-10 13:44:43 -07:00
include/lldb [lldb] Fix TestDyldExecLinux with xml enabled 2022-06-14 11:44:59 +02:00
packages/Python/lldbsuite [lldb] [test] Implement getting thread ID on FreeBSD 2022-06-10 10:26:58 +02:00
resources
scripts
source [lldb] Fix TestDyldExecLinux with xml enabled 2022-06-14 11:44:59 +02:00
test [lldb] Fix TestDyldExecLinux with xml enabled 2022-06-14 11:44:59 +02:00
third_party/Python/module
tools [lldb/fuzzer] Moving target fuzzer into separate subdirectory 2022-05-26 17:05:14 -07:00
unittests Store a by name list of signals with their actions in the Target 2022-05-26 14:50:33 -07:00
utils
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py