[PATCH] D70360: [Bindings][Go] Fix go.test failure due to missing argument

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 17:13:21 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG88235812a71d: [Bindings][Go] Fix go.test failure due to missing argument go.test failed with… (authored by lkail).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70360/new/

https://reviews.llvm.org/D70360

Files:
  llvm/bindings/go/llvm/dibuilder.go


Index: llvm/bindings/go/llvm/dibuilder.go
===================================================================
--- llvm/bindings/go/llvm/dibuilder.go
+++ llvm/bindings/go/llvm/dibuilder.go
@@ -500,11 +500,12 @@
 
 // DITypedef holds the values for creating typedef type debug metadata.
 type DITypedef struct {
-	Type    Metadata
-	Name    string
-	File    Metadata
-	Line    int
-	Context Metadata
+	Type        Metadata
+	Name        string
+	File        Metadata
+	Line        int
+	Context     Metadata
+	AlignInBits int
 }
 
 // CreateTypedef creates typedef type debug metadata.
@@ -519,6 +520,7 @@
 		t.File.C,
 		C.unsigned(t.Line),
 		t.Context.C,
+		C.unsigned(t.AlignInBits),
 	)
 	return Metadata{C: result}
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70360.229950.patch
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/5fecb835/attachment.bin>


More information about the llvm-commits mailing list