[dev.link] cmd/link: convert doxcoff to new style

Change-Id: Ic1e4ed6c14e049b1ba2f7c00f986433ab7ebe932
Reviewed-on: https://go-review.googlesource.com/c/go/+/225202
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
Cherry Zhang 2020-03-24 12:08:36 -04:00
parent 651e950fc9
commit b1a19f3cc7
7 changed files with 120 additions and 83 deletions

View file

@ -52,9 +52,9 @@ func TestAddMaterializedSymbol(t *testing.T) {
t.Fatalf("LookupOrCreateSym failed for go.info.type.uint8")
}
// Create a nameless symbol
es3 := ldr.CreateExtSym("")
es3 := ldr.CreateStaticSym("")
if es3 == 0 {
t.Fatalf("CreateExtSym failed for nameless sym")
t.Fatalf("CreateStaticSym failed for nameless sym")
}
// Grab symbol builder pointers