Change-Id: I54976b004b4db006509f5e0781b1c2e46cfa09ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/244577
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Joel Sing <joel@sing.id.au>
"crypto/sha1"
"encoding/binary"
"encoding/hex"
+ "fmt"
"path/filepath"
"sort"
"strings"
// sanity check
if uint64(out.Offset()) != sect.Reloff+sect.Rellen {
- panic("elfrelocsect: size mismatch")
+ panic(fmt.Sprintf("elfrelocsect: size mismatch %d != %d + %d", out.Offset(), sect.Reloff, sect.Rellen))
}
}