From 68a88196147a85ceeb749b87a65b336e636ebef6 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Tue, 10 Sep 2019 18:03:44 -0400 Subject: [PATCH] strip debuginfo to avoid dublicate DICompileUnit's --- src/Enzyme.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Enzyme.jl b/src/Enzyme.jl index dfe5523042..3d24aa20bb 100644 --- a/src/Enzyme.jl +++ b/src/Enzyme.jl @@ -99,6 +99,7 @@ end # Run pipeline and Enzyme pass optimize!(mod) + strip_debuginfo!(mod) _args = (:(args[$i]) for i in 1:length(args)) call_function(llvmf, Float64, Tuple{args...}, Expr(:tuple, _args...))