labath added a comment.
+1 for the cleanup. The `m_die_array_size` function is just weird
================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:312
void DWARFUnit::ClearDIEs(bool keep_compile_unit_die) {
+ m_die_array.clear();
----------------
You are ignoring the keep_compile_unit_die argument here. Is that intentional?
(I would be fine with not being able to clear the unit die, but if we got that
way, then we should remove this argument altogether.)
https://reviews.llvm.org/D46810
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits