mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-04-17 15:41:52 +00:00
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>
This commit is contained in:
parent
01431c2f61
commit
1b704857f1
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue