https://bugs.llvm.org/show_bug.cgi?id=40561
Bug ID: 40561
Summary: Bindings/Go/go.test fails with "Errorf format %d has
arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute"
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: h...@chromium.org
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
pe...@pcc.me.uk
The test started failing for me recently. I don't see any changes around this
code, so maybe it's my local go version that changed or something.
The error seems real to me: we're trying to print an Attribute with %d. The
test talks about "attribute masks" I'm not sure what that refers to, but I
suppose we could print the raw pointer value, since that's what the test seems
to be comparing?
--
FAIL: LLVM :: Bindings/Go/go.test (20355 of 29679)
******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED
********************
Script:
--
: 'RUN: at line 1'; /work/llvm.monorepo/build.release/bin/llvm-go
go=/usr/lib/google-golang/bin/go test llvm.org/llvm/bindings/go/llvm
--
Exit Code: 1
Command Output (stdout):
--
FAIL llvm.org/llvm/bindings/go/llvm [build failed]
--
Command Output (stderr):
--
# llvm.org/llvm/bindings/go/llvm
/tmp/lit_tmp_zx1JSU/gopath346809403/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:33:3:
Errorf format %d has arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute
/tmp/lit_tmp_zx1JSU/gopath346809403/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:44:3:
Errorf format %d has arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute
--
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs