llvm-project/lldb
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
..
cmake [CMake] Fix add_lldb_test_dependency 2019-10-09 20:36:29 +00:00
docs Expand on the qfProcessInfo documentation, add examples from 2019-10-04 21:01:52 +00:00
examples Revert [heap.py] Add missing declaration for malloc_get_all_zones 2019-08-22 21:01:45 +00:00
include/lldb SBFile support in SBCommandReturnObject 2019-10-09 21:50:49 +00:00
packages/Python/lldbsuite 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
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts SBFile support in SBCommandReturnObject 2019-10-09 21:50:49 +00:00
source 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
test [LLDB] Remove standalone build dep on llvm-strip 2019-10-09 21:06:03 +00:00
third_party/Python/module dotest.py: bugfix: test filters with -f do not work on Python3 2019-09-20 23:41:29 +00:00
tools SBFile support in SBCommandReturnObject 2019-10-09 21:50:49 +00:00
unittests Remove the is_mangled flag from Mangled and Symbol 2019-10-09 16:22:14 +00:00
utils [utils] Update lldb-dotest for new test layout 2019-10-09 20:30:54 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +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