Skip to content

Commit

Permalink
Merge pull request #3866 from crystal-lang/fix-debug-dwarf-line-numbe…
Browse files Browse the repository at this point in the history
…rs-musl-x86

Fix: Debug::DWARF::LineNumbers on musl-libc (x86)
  • Loading branch information
Martin Verzilli committed Jan 10, 2017
2 parents 7865abf + 41cb33c commit c8481e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/debug/dwarf/line_numbers.cr
Expand Up @@ -125,7 +125,7 @@ module Debug
#
# :nodoc:
struct Sequence
property! offset : LibC::Long
property! offset : LibC::OffT
property! unit_length : UInt32
property! version : UInt16
property! header_length : UInt32 # FIXME: UInt64 for DWARF64 (uncommon)
Expand Down Expand Up @@ -169,7 +169,7 @@ module Debug
# The array of indexed file names.
getter files : Array(String)

@offset : LibC::Long
@offset : LibC::OffT

def initialize(@io : IO::FileDescriptor, size)
@offset = @io.tell
Expand Down

0 comments on commit c8481e8

Please sign in to comment.