diff options
author | Pavel Labath <pavel@labath.sk> | 2024-06-20 08:09:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 08:09:02 +0200 |
commit | c2f976649a5ef405b224bfe36267966cdd394057 (patch) | |
tree | 2504f5b8bbff80f564fdcc2b22f203699ef954fb /llvm/lib/IR/Module.cpp | |
parent | 394e321a2ea021194891cf5b0c5747a901fb7915 (diff) | |
download | llvm-c2f976649a5ef405b224bfe36267966cdd394057.zip llvm-c2f976649a5ef405b224bfe36267966cdd394057.tar.gz llvm-c2f976649a5ef405b224bfe36267966cdd394057.tar.bz2 |
[lldb/DWARF] Fix type definition search with simple template names (#95905)
With simple template names the template arguments aren't embedded in the
DW_AT_name attribute of the type. The code in
FindDefinitionTypeForDWARFDeclContext was comparing the synthesized
template arguments on the leaf (most deeply nested) DIE, but was not
sufficient, as the difference get be at any level above that
(Foo<T>::Bar vs. Foo<U>::Bar). This patch makes sure we compare the
entire context.
As a drive-by I also remove the completely unnecessary
ConstStringification of the GetDIEClassTemplateParams result.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions