[llvm] 6ae7315 - Revert "[Bindings][Go] Fix go.test failure due to missing argument"
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 18:01:56 PST 2019
Author: Kai Luo
Date: 2019-11-19T09:59:43+08:00
New Revision: 6ae7315746f1e89b49c70413d709b472e532c8e2
URL: https://github.com/llvm/llvm-project/commit/6ae7315746f1e89b49c70413d709b472e532c8e2
DIFF: https://github.com/llvm/llvm-project/commit/6ae7315746f1e89b49c70413d709b472e532c8e2.diff
LOG: Revert "[Bindings][Go] Fix go.test failure due to missing argument"
This reverts commit 88235812a71d99c082e7aa2ef9356d43d1f83a80 due to
d27a16eb392f39f9ee04ff5194b1eff3e189e6f8.
Added:
Modified:
llvm/bindings/go/llvm/dibuilder.go
Removed:
################################################################################
diff --git a/llvm/bindings/go/llvm/dibuilder.go b/llvm/bindings/go/llvm/dibuilder.go
index e32d69490833..2c6bee411c0e 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}
}
More information about the llvm-commits
mailing list