aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
diff options
context:
space:
mode:
authorHyang-Ah Hana Kim <hyangah@gmail.com>2018-03-23 15:00:34 +0000
committerHyang-Ah Hana Kim <hyangah@gmail.com>2018-03-23 15:09:04 +0000
commit58734039bdddbdfd3c7cd4f9fc232a75f5cef32a (patch)
treed460c5fe378acf8139ea9f7179ffe94156e88e7c /src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
parentc6e69ec7f930191022f1369761a680eecc2e89f1 (diff)
downloadgo-58734039bdddbdfd3c7cd4f9fc232a75f5cef32a.tar.xz
Revert "cmd/vendor/.../pprof: refresh from upstream@a74ae6f"
This reverts commit c6e69ec7f930191022f1369761a680eecc2e89f1. Reason for revert: Broke builders. #24508 Change-Id: I66abff0dd14ec6e1f8d8d982ccfb0438633b639d Reviewed-on: https://go-review.googlesource.com/102316 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go')
-rw-r--r--src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go b/src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
index 297bb24b1c..7e42c88d14 100644
--- a/src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
+++ b/src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
@@ -218,7 +218,7 @@ func GetBase(fh *elf.FileHeader, loadSegment *elf.ProgHeader, stextOffset *uint6
// So the base should be:
if stextOffset != nil && (start%pageSize) == (*stextOffset%pageSize) {
// perf uses the address of _stext as start. Some tools may
- // adjust for this before calling GetBase, in which case the page
+ // adjust for this before calling GetBase, in which case the the page
// alignment should be different from that of stextOffset.
return start - *stextOffset, nil
}