[Lldb-commits] [lldb] [LLDB][NativePDB] Create functions with mangled name (PR #149701)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 21 02:30:17 PDT 2025
================
@@ -888,22 +890,27 @@ PdbAstBuilder::CreateFunctionDecl(PdbCompilandSymId func_id,
tag_record = CVTagRecord::create(index.tpi().getType(*eti)).asTag();
}
}
+
+ ConstString mangled_name;
+ if (auto mangled_name_opt = pdb->FindMangledFunctionName(func_id))
+ mangled_name = ConstString(*mangled_name_opt);
----------------
Michael137 wrote:
Could be:
```suggestion
ConstString mangled_name = pdb->FindMangledFunctionName(func_id).value_or(ConstString());
```
https://github.com/llvm/llvm-project/pull/149701
More information about the lldb-commits
mailing list