aboutsummaryrefslogtreecommitdiff
path: root/src/debug/pe
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2022-03-31 13:15:51 -0400
committerThan McIntosh <thanm@google.com>2022-03-31 19:13:25 +0000
commitc5c66d78b21074c562ece01d6682d4a499815786 (patch)
tree4e4525fd62c8ab35cb1652c03e97bdf10646c8a8 /src/debug/pe
parentb1e83c0513cc009192ebb6fcf5e232adf23552d4 (diff)
downloadgo-c5c66d78b21074c562ece01d6682d4a499815786.tar.xz
debug/pe: skip TestReadCOFFSymbolAuxInfo on big-endian systems
Disable the new TestReadCOFFSymbolAuxInfo testpoint on big endian systems, pending resolution of issue 52079. The newly added interfaces for reading symbol definition aux info is not working properly when reading PE objects obj big-endian systems. Updates #52079. Change-Id: I8d55c7e4c03fc6444ef06a6a8154cb50596ca58a Reviewed-on: https://go-review.googlesource.com/c/go/+/397294 Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/debug/pe')
-rw-r--r--src/debug/pe/symbols_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/debug/pe/symbols_test.go b/src/debug/pe/symbols_test.go
index c4dcd95391..5ccf635830 100644
--- a/src/debug/pe/symbols_test.go
+++ b/src/debug/pe/symbols_test.go
@@ -6,6 +6,7 @@ package pe
import (
"fmt"
+ "runtime"
"testing"
)
@@ -17,6 +18,13 @@ type testpoint struct {
}
func TestReadCOFFSymbolAuxInfo(t *testing.T) {
+
+ switch runtime.GOARCH {
+ case "mips", "mips64", "ppc64", "s390x":
+ t.Skipf("Skipping on %s (big endian) until issue #52079 fixed",
+ runtime.GOARCH)
+ }
+
testpoints := map[int]testpoint{
39: testpoint{
name: ".rdata$.refptr.__native_startup_lock",