mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 01:54:14 +01:00
Increase maximum number of threads for minidump_stackwalk.
BUG= Change-Id: I361d8812df7b2977fe2630289059d31c3c9a4cc3 Reviewed-on: https://chromium-review.googlesource.com/459010 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
7a8374fc4c
commit
219d0b15c4
@ -35,6 +35,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@ -53,6 +54,7 @@ namespace {
|
||||
|
||||
using google_breakpad::BasicSourceLineResolver;
|
||||
using google_breakpad::Minidump;
|
||||
using google_breakpad::MinidumpThreadList;
|
||||
using google_breakpad::MinidumpProcessor;
|
||||
using google_breakpad::ProcessState;
|
||||
using google_breakpad::SimpleSymbolSupplier;
|
||||
@ -81,6 +83,8 @@ bool PrintMinidumpProcess(const string &minidump_file,
|
||||
BasicSourceLineResolver resolver;
|
||||
MinidumpProcessor minidump_processor(symbol_supplier.get(), &resolver);
|
||||
|
||||
// Increase the maximum number of threads.
|
||||
MinidumpThreadList::set_max_threads(std::numeric_limits<uint32_t>::max());
|
||||
// Process the minidump.
|
||||
Minidump dump(minidump_file);
|
||||
if (!dump.Read()) {
|
||||
|
Loading…
Reference in New Issue
Block a user