diff options
author | Kai Luo <lkail@cn.ibm.com> | 2019-11-19 09:57:23 +0800 |
---|---|---|
committer | Kai Luo <lkail@cn.ibm.com> | 2019-11-19 09:59:43 +0800 |
commit | 6ae7315746f1e89b49c70413d709b472e532c8e2 (patch) | |
tree | faea0c8c11f921347ee0a5d2f900e0866f10498d /llvm/bindings/go | |
parent | 88235812a71d99c082e7aa2ef9356d43d1f83a80 (diff) | |
download | bcm5719-llvm-6ae7315746f1e89b49c70413d709b472e532c8e2.tar.gz bcm5719-llvm-6ae7315746f1e89b49c70413d709b472e532c8e2.zip |
Revert "[Bindings][Go] Fix go.test failure due to missing argument"
This reverts commit 88235812a71d99c082e7aa2ef9356d43d1f83a80 due to
d27a16eb392f39f9ee04ff5194b1eff3e189e6f8.
Diffstat (limited to 'llvm/bindings/go')
-rw-r--r-- | llvm/bindings/go/llvm/dibuilder.go | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/llvm/bindings/go/llvm/dibuilder.go b/llvm/bindings/go/llvm/dibuilder.go index e32d6949083..2c6bee411c0 100644 --- a/llvm/bindings/go/llvm/dibuilder.go +++ b/llvm/bindings/go/llvm/dibuilder.go @@ -500,12 +500,11 @@ func (d *DIBuilder) CreateArrayType(t DIArrayType) Metadata { // DITypedef holds the values for creating typedef type debug metadata. type DITypedef struct { - Type Metadata - Name string - File Metadata - Line int - Context Metadata - AlignInBits int + Type Metadata + Name string + File Metadata + Line int + Context Metadata } // CreateTypedef creates typedef type debug metadata. @@ -520,7 +519,6 @@ func (d *DIBuilder) CreateTypedef(t DITypedef) Metadata { t.File.C, C.unsigned(t.Line), t.Context.C, - C.unsigned(t.AlignInBits), ) return Metadata{C: result} } |