Skip to content

Commit 9c617b6

Browse files
authored
debug/gosym: update doc as requested
1 parent c5f2ed9 commit 9c617b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug/gosym/pclntab.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (t *LineTable) LineToPC(line int, maxpc uint64) uint64 {
152152
// value stored in the 'runtime.text' symbol.
153153
// This value may differ from the start
154154
// address of the text segment if
155-
// -linkmode=external is specified.
155+
// binary was built with cgo enabled.
156156
func NewLineTable(data []byte, text uint64) *LineTable {
157157
return &LineTable{Data: data, PC: text, Line: 0, funcNames: make(map[uint32]string), strings: make(map[uint32]string)}
158158
}

0 commit comments

Comments
 (0)