mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 00:14:14 +01:00
Mac dump_syms: delete unused WriteSymbolFile
Bug: None Change-Id: I5aec8c07a01ee180c817fa79db39f9c2eb933e37 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4004598 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
387a002c89
commit
6b7e8a80ba
@ -678,18 +678,6 @@ bool DumpSymbols::ReadSymbolData(Module** out_module) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DumpSymbols::WriteSymbolFile(std::ostream& stream) {
|
|
||||||
Module* module = NULL;
|
|
||||||
|
|
||||||
if (ReadSymbolData(&module) && module) {
|
|
||||||
bool res = module->Write(stream, symbol_data_);
|
|
||||||
delete module;
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Read the selected object file's debugging information, and write out the
|
// Read the selected object file's debugging information, and write out the
|
||||||
// header only to |stream|. Return true on success; if an error occurs, report
|
// header only to |stream|. Return true on success; if an error occurs, report
|
||||||
// it and return false.
|
// it and return false.
|
||||||
|
@ -117,19 +117,14 @@ class DumpSymbols {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read the selected object file's debugging information, and write it out to
|
|
||||||
// |stream|. Return true on success; if an error occurs, report it and
|
|
||||||
// return false.
|
|
||||||
bool WriteSymbolFile(std::ostream& stream);
|
|
||||||
|
|
||||||
// Read the selected object file's debugging information, and write out the
|
// Read the selected object file's debugging information, and write out the
|
||||||
// header only to |stream|. Return true on success; if an error occurs, report
|
// header only to |stream|. Return true on success; if an error occurs, report
|
||||||
// it and return false.
|
// it and return false.
|
||||||
bool WriteSymbolFileHeader(std::ostream& stream);
|
bool WriteSymbolFileHeader(std::ostream& stream);
|
||||||
|
|
||||||
// As above, but simply return the debugging information in module
|
// Read the selected object file's debugging information and store it in
|
||||||
// instead of writing it to a stream. The caller owns the resulting
|
// `module`. The caller owns the resulting module object and must delete
|
||||||
// module object and must delete it when finished.
|
// it when finished.
|
||||||
bool ReadSymbolData(Module** module);
|
bool ReadSymbolData(Module** module);
|
||||||
|
|
||||||
// Return an identifier string for the file this DumpSymbols is dumping.
|
// Return an identifier string for the file this DumpSymbols is dumping.
|
||||||
|
Loading…
Reference in New Issue
Block a user