Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brigadier-general authored Jun 10, 2024
1 parent 1309938 commit e11a030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objfile/objfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ func (e *Entry) PCLineTable(versionOverride string, knownPclntabVA uint64, known
}

if knownGofuncVA != 0 {
candidate.Gofunc
candidate.GofuncVA

Check failure on line 256 in objfile/objfile.go

View workflow job for this annotation

GitHub Actions / build

candidate.GofuncVA (variable of type uint64) is not used

Check failure on line 256 in objfile/objfile.go

View workflow job for this annotation

GitHub Actions / build

candidate.GofuncVA (variable of type uint64) is not used
}

parsedTable, err := gosym.NewTable(candidate.Symtab, gosym.NewLineTable(candidate.Pclntab, candidate.SecStart, candidate.Gofunc), versionOverride)
parsedTable, err := gosym.NewTable(candidate.Symtab, gosym.NewLineTable(candidate.Pclntab, candidate.SecStart, candidate.GofuncVA), versionOverride)

Check failure on line 259 in objfile/objfile.go

View workflow job for this annotation

GitHub Actions / build

too many arguments in call to gosym.NewLineTable

Check failure on line 259 in objfile/objfile.go

View workflow job for this annotation

GitHub Actions / build

too many arguments in call to gosym.NewLineTable
if err != nil || parsedTable.Go12line == nil {
continue
}
Expand Down

0 comments on commit e11a030

Please sign in to comment.