Unverified Commit c0e1ad77 authored by Pavel Labath's avatar Pavel Labath Committed by GitHub
Browse files

[lldb] Skip declaration DIEs in the debug_names index (#94744)

This makes sure we try to process declaration DIEs that are erroneously
present in the index. Until bd5c6367, clang was emitting index
entries for declaration DIEs with DW_AT_signature attributes. This makes
sure to avoid returning those DIEs as the definitions of a type, but
also makes sure to pass through DIEs referring to static constexpr
member variables, which is a (probably nonconforming) extension used by
dsymutil.

It adds test cases for both of the scenarios. It is essentially a
recommit of #91808.
parent d83f37f0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment