diff options
author | Lars Volker <lv@cloudera.com> | 2017-07-26 19:23:29 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2017-07-28 22:28:15 +0000 |
commit | 1b704857f1e78a864e6942e613457e55f1aecb60 (patch) | |
tree | 1645437b15559c341dada7aa87e28a7e2b4f5f1d | |
parent | Handle very large stack traces (diff) | |
download | breakpad-1b704857f1e78a864e6942e613457e55f1aecb60.tar.xz |
Increase maximum number of regions for minidump_stackwalk.
Change I361d8812df7b2977fe2630289059d31c3c9a4cc3 increased the maximum
number of threads for minidump_stackwalk. This change also increases the
maximum number of regions.
Change-Id: I61efd4453df8809bd9cd657546d1d6727cd10281
Reviewed-on: https://chromium-review.googlesource.com/588384
Reviewed-by: Mike Frysinger <vapier@chromium.org>
-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()) { |