mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-10-20 20:48:20 +02:00
Fix breakpad/src/tools/mac/crash_report/on_demand_symbol_supplier.mm following
r835. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@836 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
8d54c75092
commit
86643aa489
@ -293,7 +293,7 @@ bool OnDemandSymbolSupplier::GenerateSymbolFile(const CodeModule *module,
|
|||||||
if (dump.SetArchitecture(architecture)) {
|
if (dump.SetArchitecture(architecture)) {
|
||||||
std::fstream file([symbol_path fileSystemRepresentation],
|
std::fstream file([symbol_path fileSystemRepresentation],
|
||||||
std::ios_base::out | std::ios_base::trunc);
|
std::ios_base::out | std::ios_base::trunc);
|
||||||
dump.WriteSymbolFile(file);
|
dump.WriteSymbolFile(file, true);
|
||||||
} else {
|
} else {
|
||||||
printf("Architecture %s not available for %s\n",
|
printf("Architecture %s not available for %s\n",
|
||||||
system_info->cpu.c_str(), name.c_str());
|
system_info->cpu.c_str(), name.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user