Skip to content

Commit

Permalink
Merge pull request #2 from wsmoses/vc/nodi
Browse files Browse the repository at this point in the history
strip debuginfo to avoid dublicate DICompileUnit's
  • Loading branch information
vchuravy authored Sep 10, 2019
2 parents b3ca828 + 68a8819 commit f341235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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...))
Expand Down

0 comments on commit f341235

Please sign in to comment.