[Lldb-commits] [PATCH] D44165: [SymbolFilePDB] Minor cleanup
Zachary Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 6 12:31:56 PST 2018
zturner accepted this revision.
zturner added inline comments.
This revision is now accepted and ready to land.
================
Comment at: source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:499
auto type_list = GetTypeList();
- type_list->Insert(result);
+ if (type_list)
+ type_list->Insert(result);
----------------
Why would this return `nullptr`?
Repository:
rL LLVM
https://reviews.llvm.org/D44165
More information about the lldb-commits
mailing list