[PATCH] D42940: Fix a crash when emitting DIEs for variable-length arrays
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 17:30:48 PST 2018
davide added inline comments.
================
Comment at: lib/CodeGen/AsmPrinter/DwarfFile.h:52
+ struct ScopeVars {
+ std::map<unsigned, DbgVariable *> Args;
+ SmallVector<DbgVariable *, 8> Locals;
----------------
Do you really need `std::map<>` here? Can't you use an LLVM container?
https://reviews.llvm.org/D42940
More information about the llvm-commits
mailing list