[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-17 Thread Pavel Labath via lldb-commits
labath added a comment. looks good as far as i am concerned https://reviews.llvm.org/D25569 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-17 Thread Dimitar Vlahovski via lldb-commits
dvlahovski updated this revision to Diff 74824. dvlahovski marked 11 inline comments as done. dvlahovski added a comment. Changed std::map with llvm::StringMap Using containter.empty() instead of containter.size() == 0 Avoiding copy by using for(const auto& ...) Added bitwise operations to the

[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-17 Thread Dimitar Vlahovski via lldb-commits
dvlahovski added inline comments. Comment at: source/Plugins/Process/minidump/MinidumpTypes.cpp:222 + + if (header->size_of_header > sizeof(MinidumpMemoryInfoListHeader)) { +data = data.drop_front(header->size_of_header - zturner wrote: > I don't think you

[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-17 Thread Pavel Labath via lldb-commits
labath added inline comments. Comment at: source/Plugins/Process/minidump/MinidumpParser.cpp:15 +#include "lldb/Target/MemoryRegionInfo.h" +#include "lldb/Utility/LLDBAssert.h" + I think this is not needed anymore. Comment at:

[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-14 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: source/Plugins/Process/minidump/MinidumpParser.cpp:242 + + for (const auto : modules) { +name = GetMinidumpString(module.module_name_rva); I don't know how big the minidumps you're working with are or if

[Lldb-commits] [PATCH] D25569: Minidump plugin: functions parsing memory structures and filtering module list

2016-10-14 Thread Pavel Labath via lldb-commits
labath added a comment. First round of comments from me :). Comment at: source/Plugins/Process/minidump/MinidumpParser.cpp:248 + +if (lowest_addr.find(module_name) == lowest_addr.end()) { + lowest_addr[module_name] = If you use the `emplace` function,