Fix format string in bindings/go/llvm/ir_test.go (PR40561)
authorHans Wennborg <hans@hanshq.net>
Tue, 5 Feb 2019 11:01:54 +0000 (11:01 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 5 Feb 2019 11:01:54 +0000 (11:01 +0000)
commit72798954544f46111a106c44b26e5ad8b77bbd05
treea95d94eef10ab566b0342167527bdfa60ab402bd
parent9e595e366348ea340746cf0849b5f4cae42e1ff5
Fix format string in bindings/go/llvm/ir_test.go (PR40561)

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.

Differential revision: https://reviews.llvm.org/D57672

llvm-svn: 353155
llvm/bindings/go/llvm/ir_test.go