teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Greg Clayton 0156be59b4 Fix a crasher due to an assert when two files have the same UUID but different paths.
Summary: The PlaceholderObjectFile has an assert in SetLoadAddress that fires if "m_base == value" is not true. To avoid this, we create check that the base address matches, and if it doesn't we clear the module that was found using the UUID so that we create a new PlaceholderObjectFile. Added a test to cover this issue.

Reviewers: labath, aadsm, dvlahovski

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68106

llvm-svn: 374242
2019-10-09 22:03:15 +00:00
..
abbreviation [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
alias
archives Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO 2019-09-27 18:52:34 +00:00
asan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
avoids-fd-leak [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
backticks [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
breakpoint Break out the Python class & key/value options into a separate OptionGroup. 2019-10-03 22:18:51 +00:00
completion [lldb][NFC] Relax completion tests for log command to make them pass on Linux 2019-09-24 08:41:10 +00:00
conditional_break [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
darwin_log [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
data-formatter Disable the empty string check in TestDataFormatterStdString 2019-09-27 11:39:27 +00:00
dead-strip Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO 2019-09-27 18:52:34 +00:00
deleted-executable [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
dynamic_value_child_count [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
exec [Testsuite] Get rid of most of the recursive shared library Makefiles 2019-10-08 16:23:28 +00:00
fat_archives [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
float-display [lldb] Limit the amount of zeroes we use for padding when printing small floats 2019-09-04 11:41:23 +00:00
gdb_remote_client Revert "[platform process list] add a flag for showing the processes of all users" 2019-10-08 16:24:28 +00:00
history [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
inferior-assert [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
inferior-changed [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
inferior-crashing Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
inline-stepping Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
jitloader_gdb [Testsuite] Get rid of most of the recursive shared library Makefiles 2019-10-08 16:23:28 +00:00
load_unload [Testsuite] Get rid of most of the recursive shared library Makefiles 2019-10-08 16:23:28 +00:00
load_using_paths [Testsuite] Get rid of most of the recursive shared library Makefiles 2019-10-08 16:23:28 +00:00
longjmp [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
memory [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
memory-region [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
modern-type-lookup [lldb][modern-type-lookup] No longer import temporary declarations into the persistent AST 2019-10-04 08:26:17 +00:00
mtc/simple Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
multidebugger_commands [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
multiword-commands [lldb] Print an error message for an empty subcommand 2019-09-27 08:49:41 +00:00
non-overlapping-index-variable-i [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
object-file [Platform] Remove Kalimba Platform 2019-03-27 16:23:50 +00:00
param_entry_vals/basic_entry_values_x86_64 [test] Skip entry value test when clang < 10.0.0 2019-10-09 20:21:33 +00:00
paths [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
plugins Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO 2019-09-27 18:52:34 +00:00
postmortem Fix a crasher due to an assert when two files have the same UUID but different paths. 2019-10-09 22:03:15 +00:00
pre_run_dylibs [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
process_group [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
process_save_core [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
ptr_refs [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
recursion [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
rerun [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
return-value [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
set-data Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
show_location [LLDB] - Improved DWARF5 support. 2018-09-13 17:06:47 +00:00
signal [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
source-map Add the source directory for https://reviews.llvm.org/D57552. 2019-02-06 00:52:04 +00:00
stats_api [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
step_scripted Pass an SBStructuredData to scripted ThreadPlans on use. 2019-10-03 22:50:18 +00:00
step-avoids-no-debug [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
tail_call_frames Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
target_var [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
target-new-solib-notifications [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
testid
thread Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
tsan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
tty [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type_completion [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type_lookup Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
ubsan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
unwind [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
value_md5_crash [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
var_path [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
wrong_commands [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00