[Lldb-commits] [lldb] [LLDB][NativePDB] Create functions with mangled name (PR #149701)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 24 05:06:36 PDT 2025


================
@@ -140,6 +140,9 @@ class SymbolFileNativePDB : public SymbolFileCommon {
 
   std::optional<PdbCompilandSymId> FindSymbolScope(PdbCompilandSymId id);
 
+  std::optional<llvm::StringRef> FindMangledFunctionName(PdbCompilandSymId id);
+  std::optional<llvm::StringRef> FindMangledSymbol(SegmentOffset so);
----------------
Nerixyz wrote:

I made `FindMangledSymbol` private and kept `FindMangledFunctionName`, because it doesn't work for all `PdbCompilandSymId`s - it only works for functions. For example, it doesn't work for global variables.

https://github.com/llvm/llvm-project/pull/149701


More information about the lldb-commits mailing list