clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.

Very close, just down to making the SymbolVendor::GetSymtab() call 
symtab.CalculateSymbolSizes() and symtab.Finalize().



================
Comment at: source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:1382-1383
+
+  symtab.CalculateSymbolSizes();
+  symtab.Finalize();
+}
----------------
Seems like these two lines should be done in the symbol vendor? Maybe this 
function should return the number of symbols added and the symbol vendor could 
see if AddSymbols returns a positive number, and if so, call 
symtab.CalculateSymbolSizes() and symtab.Finalize(). We should also see who 
else is calling these and remove any calls and only do it in the SymbolVendor 
one time.


https://reviews.llvm.org/D53368



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to