[Lldb-commits] [PATCH] D122943: [LLDB][NativePDB] Fix a crash when S_DEFRANGE_SUBFIELD_REGISTER descirbes a simple type

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 4 06:14:59 PDT 2022


labath added a comment.

Seems reasonable, but I don't know much about pdb's. @rnk, do you want to take a look?



================
Comment at: lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp:54
 struct FindMembersSize : public TypeVisitorCallbacks {
-  FindMembersSize(std::vector<std::pair<RegisterId, uint32_t>> &members_info,
+  FindMembersSize(llvm::SmallVector<std::pair<RegisterId, uint32_t>> &members_info,
                   TpiStream &tpi)
----------------
I think `SmallVectorImpl` is still the official way to take SmallVector references.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122943/new/

https://reviews.llvm.org/D122943



More information about the lldb-commits mailing list