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:
mark@chromium.org 2011-09-27 21:02:31 +00:00
parent 8d54c75092
commit 86643aa489

View File

@ -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());