Commit c39cbb22 by Ian Lance Taylor

debug/dwarf: Fix handling of LineSetFile.

From-SVN: r187578
parent 2c686dfe
......@@ -359,7 +359,7 @@ func (d *Data) parseLineProgram(u *unit, b *buf, hdr lineHdr, end Offset) {
b.error("DWARF file number out of range")
return
}
lineInfo.Filename = hdr.files[i]
lineInfo.Filename = hdr.files[i-1]
newLineInfo = true
case LineSetColumn:
lineInfo.Column = int(b.uint())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment