mirror of
https://github.com/asherkin/accelerator.git
synced 2025-12-06 18:08:30 +00:00
Fix symbol uploads (#43)
* Fix parameter order * Do not preserve address offset * Do not pass explicit symbol ID
This commit is contained in:
parent
3ed1266798
commit
a661a6abb7
@ -565,17 +565,17 @@ class UploadThread: public IThread
|
||||
};
|
||||
|
||||
std::ostringstream outputStream;
|
||||
google_breakpad::DumpOptions options(ALL_SYMBOL_DATA, true, true, true);
|
||||
google_breakpad::DumpOptions options(ALL_SYMBOL_DATA, true, true, false);
|
||||
|
||||
{
|
||||
StderrInhibitor stdrrInhibitor;
|
||||
|
||||
if (!WriteSymbolFile(debugFile, debugFile, debugFile, "Linux", debug_dirs, options, outputStream)) {
|
||||
if (!WriteSymbolFile(debugFile, debugFile, "Linux", "", debug_dirs, options, outputStream)) {
|
||||
outputStream.str("");
|
||||
outputStream.clear();
|
||||
|
||||
// Try again without debug dirs.
|
||||
if (!WriteSymbolFile(debugFile, debugFile, debugFile, "Linux", {}, options, outputStream)) {
|
||||
if (!WriteSymbolFile(debugFile, debugFile, "Linux", "", {}, options, outputStream)) {
|
||||
if (log) fprintf(log, "Failed to process symbol file\n");
|
||||
if (log) fflush(log);
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user