]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: add Errorf method on context taking new sym
authorThan McIntosh <thanm@google.com>
Wed, 20 Nov 2019 16:06:39 +0000 (11:06 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 27 Dec 2019 15:05:58 +0000 (15:05 +0000)
commit026b98a2a230ef378e8f802f8671f421c127e258
treec2281ca451f1f7e35daeab0173138416552f3996
parentb720014743d7de2e706bb6b54ca914653d86f76c
[dev.link] cmd/link: add Errorf method on context taking new sym

Add a Link method that takes a loader sym index instead
of a sym.Symbol.

Change-Id: If59e246cb1adc9066080f019be135387fc1b2fcd
Reviewed-on: https://go-review.googlesource.com/c/go/+/208228
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/util.go