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} }