[Lldb-commits] [lldb] [lldb/DWARF] Remove duplicate type filtering (PR #116989)
Augusto Noronha via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 21 02:56:54 PST 2024
================
@@ -2790,7 +2759,7 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, TypeResults &results) {
// With -gsimple-template-names, a templated type's DW_AT_name will not
// contain the template parameters. Try again stripping '<' and anything
// after, filtering out entries with template parameters that don't match.
- if (!have_index_match) {
+ if (!have_index_match && !query.GetSearchByMangledName()) {
----------------
augusto2112 wrote:
Actually, never mind, if no type is found `have_index_match` will be false even when searching by mangled name, so this condition is necessary.
https://github.com/llvm/llvm-project/pull/116989
More information about the lldb-commits
mailing list