diff options
-rw-r--r-- | src/processor/minidump_stackwalk.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/processor/minidump_stackwalk.cc b/src/processor/minidump_stackwalk.cc index 650e1efe..6f3aa354 100644 --- a/src/processor/minidump_stackwalk.cc +++ b/src/processor/minidump_stackwalk.cc @@ -54,6 +54,7 @@ namespace { using google_breakpad::BasicSourceLineResolver; using google_breakpad::Minidump; +using google_breakpad::MinidumpMemoryList; using google_breakpad::MinidumpThreadList; using google_breakpad::MinidumpProcessor; using google_breakpad::ProcessState; @@ -83,8 +84,9 @@ bool PrintMinidumpProcess(const string &minidump_file, BasicSourceLineResolver resolver; MinidumpProcessor minidump_processor(symbol_supplier.get(), &resolver); - // Increase the maximum number of threads. + // Increase the maximum number of threads and regions. MinidumpThreadList::set_max_threads(std::numeric_limits<uint32_t>::max()); + MinidumpMemoryList::set_max_regions(std::numeric_limits<uint32_t>::max()); // Process the minidump. Minidump dump(minidump_file); if (!dump.Read()) { |