Skip to content

Commit 50ad20a

Browse files
committed
fix: add comment regarding PDB missing templates
1 parent 0652c11 commit 50ad20a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/Plugins/Language/CPlusPlus/MsvcStlVector.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ lldb_private::formatters::MsvcStlVectorSyntheticFrontEndCreator(
291291
if (!valobj_sp)
292292
return nullptr;
293293

294+
// We can't check the template parameter here, because PDB doesn't include
295+
// this information.
296+
294297
// vector<T>
295298
if (valobj_sp->GetChildMemberWithName("_Mypair") != nullptr)
296299
return new MsvcStlVectorSyntheticFrontEnd(valobj_sp);

0 commit comments

Comments
 (0)