Skip to content

Commit

Permalink
Remove dead code in FirstPCAfterPrologue function
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsaezm committed Apr 19, 2023
1 parent ca103a5 commit 40c59bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proc/bininfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func FirstPCAfterPrologue(p Process, fn *Function, sameline bool) (uint64, error
}

pc, _, line, ok := fn.cu.lineInfo.PrologueEndPC(fn.Entry, fn.End)
if ok && false {
if ok {
if !sameline {
return pc, nil
}
Expand Down

0 comments on commit 40c59bc

Please sign in to comment.