File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
lldb/source/Plugins/SymbolFile/PDB Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1295,12 +1295,11 @@ void SymbolFilePDB::CacheFunctionNames() {
1295
1295
continue ;
1296
1296
1297
1297
if (CPlusPlusLanguage::IsCPPMangledName (name.c_str ())) {
1298
- auto vm_addr = pub_sym_up->getVirtualAddress ();
1299
-
1300
1298
// PDB public symbol has mangled name for its associated function.
1301
- if (vm_addr && addr_ids.find (vm_addr) != addr_ids.end ()) {
1302
- // Cache mangled name.
1303
- m_func_full_names.Append (ConstString (name), addr_ids[vm_addr]);
1299
+ if (auto vm_addr = pub_sym_up->getVirtualAddress ()) {
1300
+ if (auto it = addr_ids.find (vm_addr); it != addr_ids.end ())
1301
+ // Cache mangled name.
1302
+ m_func_full_names.Append (ConstString (name), it->second );
1304
1303
}
1305
1304
}
1306
1305
}
You can’t perform that action at this time.
0 commit comments