mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: convert domacho to new style
Change-Id: I6e009d01e490534fe1d7d0acd39746158bfcfa24 Reviewed-on: https://go-review.googlesource.com/c/go/+/222301 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org>
This commit is contained in:
parent
bf3aa8741b
commit
4d03b6543f
3 changed files with 60 additions and 41 deletions
|
|
@ -133,8 +133,12 @@ func (sb *SymbolBuilder) Reachable() bool {
|
|||
return sb.l.AttrReachable(sb.symIdx)
|
||||
}
|
||||
|
||||
func (sb *SymbolBuilder) SetReachable(v bool) {
|
||||
sb.l.SetAttrReachable(sb.symIdx, v)
|
||||
}
|
||||
|
||||
func (sb *SymbolBuilder) setReachable() {
|
||||
sb.l.SetAttrReachable(sb.symIdx, true)
|
||||
sb.SetReachable(true)
|
||||
}
|
||||
|
||||
func (sb *SymbolBuilder) ReadOnly() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue