Skip to content

Commit

Permalink
Drop pinning Dwarf version 2 for android (#14243)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Feb 2, 2024
1 parent 54f185d commit 2bce884
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/compiler/crystal/codegen/debug.cr
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ module Crystal
"CodeView",
mod.context.int32.const_int(1)
)
elsif @program.has_flag?("osx") || @program.has_flag?("android")
# DebugInfo generation in LLVM by default uses a higher version of dwarf
# than OS X currently understands. Android has the same problem.
mod.add_flag(
LibLLVM::ModuleFlagBehavior::Warning,
"Dwarf Version",
mod.context.int32.const_int(2)
)
end

mod.add_flag(
Expand Down

0 comments on commit 2bce884

Please sign in to comment.