forked from OSchip/llvm-project
d30797b404
When opening a minidump, we might discover that it reports a UUID for a module that doesn't match the build ID, but rather a hash of the .text section (according to either of two different hash functions, used by breakpad and Facebook respectively). The current logic searches for a module by filename only to check the hash; this change updates it to first search by directory+filename. This is important when the directory specified in the minidump must be interpreted relative to a user-provided sysoort, as the leaf directory won't be in the search path in that case. Also add a regression test; without this change, module validation fails because we have just the placeholder module which reports as its path the platform path in the minidump. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D89155 |
||
---|---|---|
.. | ||
android/platform | ||
api | ||
arm | ||
assert_messages_test | ||
benchmarks | ||
commands | ||
driver/batch_mode | ||
functionalities | ||
iohandler | ||
lang | ||
linux | ||
macosx | ||
python_api | ||
sample_test | ||
sanity | ||
source-manager | ||
terminal | ||
test_runner/test | ||
tools | ||
types | ||
CMakeLists.txt | ||
dotest.py | ||
get_darwin_real_python.py | ||
lit.cfg.py | ||
lit.site.cfg.py.in | ||
lldbtest.py | ||
use_lldb_suite.py |