From 7ed2096cabc35b886f6ed1b80e4f1542c04b9b26 Mon Sep 17 00:00:00 2001 From: Ryan Gonzalez Date: Sun, 30 Jun 2024 11:38:20 -0500 Subject: [PATCH] Make llvm-symbolizer errors non-fatal --- tools/alys_converter.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/alys_converter.cr b/tools/alys_converter.cr index 758d0dc..a64a7ab 100644 --- a/tools/alys_converter.cr +++ b/tools/alys_converter.cr @@ -113,7 +113,8 @@ class Symbolizer end if error = output.error - raise "llvm-symbolizer returned an error: #{exe}: #{error.message}" + STDERR.puts "llvm-symbolizer returned an error: #{exe}: #{error.message}" + return nil end symbol = Output.from_json(line).symbols.try(&.[0]?).try(&.to_symbol) -- 2.45.2