diff options
author | Pavel Labath <labath@google.com> | 2018-03-16 10:02:16 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-03-16 10:02:16 +0000 |
commit | 906b777a6a1350b83810df83a4587148628f1ee9 (patch) | |
tree | 191d6e5a404b741be5d5ec24265406dd5e92d8c2 /lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py | |
parent | 883e96c9d413cb0b7e724b04c351684f2f811189 (diff) | |
download | bcm5719-llvm-906b777a6a1350b83810df83a4587148628f1ee9.tar.gz bcm5719-llvm-906b777a6a1350b83810df83a4587148628f1ee9.zip |
DWARFVerifier: Enhance validation of .debug_names hash tables
Summary:
This patch adds more checks to the .debug_names validator. Specifically,
they check for:
- buckets claiming to be non-empty but pointing to mismatched hashes
(most consumers would interpret this as an empty bucket, but it
questionable whether the generator meant that)
- hashes that are not reachable from any bucket
- names with incorrect hashes
Together, these checks ensure that any name in the index can be reached
through the hash table using the regular lookup algorithm. We also warn
if we encounter a name index without a hash table.
Reviewers: JDevlieghere, aprantl, dblaikie
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D44433
llvm-svn: 327699
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py')
0 files changed, 0 insertions, 0 deletions