From 9c617b65be9b01e9708e05a540316f98c8a0d165 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 24 Jan 2024 21:22:11 +0000 Subject: [PATCH] debug/gosym: update doc as requested --- src/debug/gosym/pclntab.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/gosym/pclntab.go b/src/debug/gosym/pclntab.go index 50a16f635a..1d5498e037 100644 --- a/src/debug/gosym/pclntab.go +++ b/src/debug/gosym/pclntab.go @@ -152,7 +152,7 @@ func (t *LineTable) LineToPC(line int, maxpc uint64) uint64 { // value stored in the 'runtime.text' symbol. // This value may differ from the start // address of the text segment if -// -linkmode=external is specified. +// binary was built with cgo enabled. func NewLineTable(data []byte, text uint64) *LineTable { return &LineTable{Data: data, PC: text, Line: 0, funcNames: make(map[uint32]string), strings: make(map[uint32]string)} }