We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ba354 commit 384e548Copy full SHA for 384e548
src/debug/dwarf/open.go
@@ -79,7 +79,7 @@ func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Dat
79
// 32-bit DWARF: 4 byte length, 2 byte version.
80
// 64-bit DWARf: 4 bytes of 0xff, 8 byte length, 2 byte version.
81
if len(d.info) < 6 {
82
- return nil, DecodeError{"info", Offset(len(d.info)), "too short. make sure you compiled with debugging information."}
+ return nil, DecodeError{"info", Offset(len(d.info)), "no debugging information found."}
83
}
84
offset := 4
85
if d.info[0] == 0xff && d.info[1] == 0xff && d.info[2] == 0xff && d.info[3] == 0xff {
0 commit comments