We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a921f58 commit 8823581Copy full SHA for 8823581
llvm/bindings/go/llvm/dibuilder.go
@@ -500,11 +500,12 @@ func (d *DIBuilder) CreateArrayType(t DIArrayType) Metadata {
500
501
// DITypedef holds the values for creating typedef type debug metadata.
502
type DITypedef struct {
503
- Type Metadata
504
- Name string
505
- File Metadata
506
- Line int
507
- Context Metadata
+ Type Metadata
+ Name string
+ File Metadata
+ Line int
+ Context Metadata
508
+ AlignInBits int
509
}
510
511
// CreateTypedef creates typedef type debug metadata.
@@ -519,6 +520,7 @@ func (d *DIBuilder) CreateTypedef(t DITypedef) Metadata {
519
520
t.File.C,
521
C.unsigned(t.Line),
522
t.Context.C,
523
+ C.unsigned(t.AlignInBits),
524
)
525
return Metadata{C: result}
526
0 commit comments