From a661a6abb74bcd35f0f3b91532b0aad8d00fc729 Mon Sep 17 00:00:00 2001 From: Adrian-Stefan Mares <36161392+adriansmares@users.noreply.github.com> Date: Sun, 30 Nov 2025 18:06:45 +0100 Subject: [PATCH] Fix symbol uploads (#43) * Fix parameter order * Do not preserve address offset * Do not pass explicit symbol ID --- extension/extension.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extension/extension.cpp b/extension/extension.cpp index 4c85c6d..2c75c96 100644 --- a/extension/extension.cpp +++ b/extension/extension.cpp @@ -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;