aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2017-10-05 10:50:37 -0700
committerMatthew Dempsky <mdempsky@google.com>2017-10-05 18:35:39 +0000
commitacdb44765d86a5fd66cbbe24735f7dde658a295f (patch)
tree48dd6bd96022121caff2e8d237aee17e0211efdb /src/cmd/internal/obj
parent5edfaa2cf8407853a0303fd7ee561f7621140c4f (diff)
downloadgo-acdb44765d86a5fd66cbbe24735f7dde658a295f.tar.xz
cmd/internal/dwarf: remove unused SymValue method
Change-Id: Ied42c2778899ce12cc256f0a124b77bf0e141aee Reviewed-on: https://go-review.googlesource.com/68471 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj')
-rw-r--r--src/cmd/internal/obj/objfile.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/internal/obj/objfile.go b/src/cmd/internal/obj/objfile.go
index f868e5dd1b..04178bd479 100644
--- a/src/cmd/internal/obj/objfile.go
+++ b/src/cmd/internal/obj/objfile.go
@@ -443,9 +443,6 @@ func (c dwCtxt) AddString(s dwarf.Sym, v string) {
ls.WriteString(c.Link, ls.Size, len(v), v)
ls.WriteInt(c.Link, ls.Size, 1, 0)
}
-func (c dwCtxt) SymValue(s dwarf.Sym) int64 {
- return 0
-}
func (c dwCtxt) AddAddress(s dwarf.Sym, data interface{}, value int64) {
ls := s.(*LSym)
size := c.PtrSize()