[Lldb-commits] [lldb] [LLDB][NativePDB] Create functions with	mangled name (PR #149701)
    Michael Buch via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Sep 24 04:52:33 PDT 2025
    
    
  
================
@@ -501,7 +501,9 @@ lldb::FunctionSP SymbolFileNativePDB::CreateFunction(PdbCompilandSymId func_id,
     return nullptr;
 
   PdbTypeSymId sig_id(proc.FunctionType, false);
-  Mangled mangled(proc.Name);
+  auto mangled_opt =
----------------
Michael137 wrote:
nit:
```suggestion
  std::optional<llvm::StringRef> mangled_opt =
```
Where it's not immediately obvious what the type is we usually avoid `auto`
https://github.com/llvm/llvm-project/pull/149701
    
    
More information about the lldb-commits
mailing list