[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:55:46 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:
This `!query.GetSearchByMangledName()` shouldn't be necessary since this condition is also in line 2730. so `have_index_match` will always be true
https://github.com/llvm/llvm-project/pull/116989
More information about the lldb-commits
mailing list