diff options
Diffstat (limited to 'src/cmd/internal')
| -rw-r--r-- | src/cmd/internal/obj/x86/evex.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/objfile/goobj.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/x86/evex.go b/src/cmd/internal/obj/x86/evex.go index aa93cd8819..12fe034704 100644 --- a/src/cmd/internal/obj/x86/evex.go +++ b/src/cmd/internal/obj/x86/evex.go @@ -165,7 +165,7 @@ func evexZcase(zcase uint8) bool { return zcase > Zevex_first && zcase < Zevex_last } -// evexSuffixBits carries instruction EVEX suffix set flags. +// evexSuffix carries instruction EVEX suffix set flags. // // Examples: // diff --git a/src/cmd/internal/objfile/goobj.go b/src/cmd/internal/objfile/goobj.go index e8b8b52251..c428e29c9b 100644 --- a/src/cmd/internal/objfile/goobj.go +++ b/src/cmd/internal/objfile/goobj.go @@ -227,7 +227,7 @@ func (f *goobjFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) return 0, nil, nil, fmt.Errorf("pcln not available in go object file") } -// Find returns the file name, line, and function data for the given pc. +// PCToLine returns the file name, line, and function data for the given pc. // Returns "",0,nil if unknown. // This function implements the Liner interface in preference to pcln() above. func (f *goobjFile) PCToLine(pc uint64) (string, int, *gosym.Func) { |
