@@ -192,7 +192,7 @@ type DICompositeType struct {
192
192
Tag enum.DwarfTag // required.
193
193
Name string // optional; empty if not present.
194
194
Scope Field // optional; nil if not present.
195
- File Field // optional; nil if not present.
195
+ File * DIFile // optional; nil if not present.
196
196
Line int64 // optional; zero value if not present.
197
197
BaseType Field // optional; nil if not present.
198
198
Size uint64 // optional; zero value if not present.
@@ -301,7 +301,7 @@ type DIDerivedType struct {
301
301
Tag enum.DwarfTag // required.
302
302
Name string // optional; empty if not present.
303
303
Scope Field // optional; nil if not present.
304
- File Field // optional; nil if not present.
304
+ File * DIFile // optional; nil if not present.
305
305
Line int64 // optional; zero value if not present.
306
306
BaseType Field // required.
307
307
Size uint64 // optional; zero value if not present.
@@ -526,17 +526,17 @@ type DIGlobalVariable struct {
526
526
// present.
527
527
MetadataID
528
528
529
- Name string // required.
530
- Scope Field // optional; nil if not present.
531
- LinkageName string // optional; empty if not present.
532
- File Field // optional; nil if not present.
533
- Line int64 // optional; zero value if not present.
534
- Type Field // optional; nil if not present.
535
- IsLocal bool // optional; zero value if not present.
536
- IsDefinition bool // optional; zero value if not present.
537
- TemplateParams Field // optional; nil if not present.
538
- Declaration Field // optional; nil if not present.
539
- Align uint64 // optional; zero value if not present.
529
+ Name string // required.
530
+ Scope Field // optional; nil if not present.
531
+ LinkageName string // optional; empty if not present.
532
+ File * DIFile // optional; nil if not present.
533
+ Line int64 // optional; zero value if not present.
534
+ Type Field // optional; nil if not present.
535
+ IsLocal bool // optional; zero value if not present.
536
+ IsDefinition bool // optional; zero value if not present.
537
+ TemplateParams Field // optional; nil if not present.
538
+ Declaration Field // optional; nil if not present.
539
+ Align uint64 // optional; zero value if not present.
540
540
}
541
541
542
542
// String returns the LLVM syntax representation of the specialized metadata node.
@@ -662,7 +662,7 @@ type DIImportedEntity struct {
662
662
Tag enum.DwarfTag // required.
663
663
Scope Field // required.
664
664
Entity Field // optional; nil if not present.
665
- File Field // optional; nil if not present.
665
+ File * DIFile // optional; nil if not present.
666
666
Line int64 // optional; zero value if not present.
667
667
Name string // optional; empty if not present.
668
668
}
@@ -716,10 +716,10 @@ type DILabel struct {
716
716
// present.
717
717
MetadataID
718
718
719
- Scope Field // required.
720
- Name string // required.
721
- File Field // required.
722
- Line int64 // required.
719
+ Scope Field // required.
720
+ Name string // required.
721
+ File * DIFile // required.
722
+ Line int64 // required.
723
723
}
724
724
725
725
// String returns the LLVM syntax representation of the specialized metadata node.
@@ -759,10 +759,10 @@ type DILexicalBlock struct {
759
759
// present.
760
760
MetadataID
761
761
762
- Scope Field // required.
763
- File Field // optional; nil if not present.
764
- Line int64 // optional; zero value if not present.
765
- Column int64 // optional; zero value if not present.
762
+ Scope Field // required.
763
+ File * DIFile // optional; nil if not present.
764
+ Line int64 // optional; zero value if not present.
765
+ Column int64 // optional; zero value if not present.
766
766
}
767
767
768
768
// String returns the LLVM syntax representation of the specialized metadata node.
@@ -808,9 +808,9 @@ type DILexicalBlockFile struct {
808
808
// present.
809
809
MetadataID
810
810
811
- Scope Field // required.
812
- File Field // optional; nil if not present.
813
- Discriminator uint64 // required.
811
+ Scope Field // required.
812
+ File * DIFile // optional; nil if not present.
813
+ Discriminator uint64 // required.
814
814
}
815
815
816
816
// String returns the LLVM syntax representation of the specialized metadata node.
@@ -854,7 +854,7 @@ type DILocalVariable struct {
854
854
Name string // optional; empty if not present.
855
855
Arg uint64 // optional; zero value if not present.
856
856
Scope Field // required.
857
- File Field // optional; nil if not present.
857
+ File * DIFile // optional; nil if not present.
858
858
Line int64 // optional; zero value if not present.
859
859
Type Field // optional; nil if not present.
860
860
Flags enum.DIFlag // optional.
@@ -1023,7 +1023,7 @@ type DIMacroFile struct {
1023
1023
1024
1024
Type enum.DwarfMacinfo // optional; zero value if not present.
1025
1025
Line int64 // optional; zero value if not present.
1026
- File Field // required.
1026
+ File * DIFile // required.
1027
1027
Nodes Field // optional; nil if not present.
1028
1028
}
1029
1029
@@ -1166,13 +1166,13 @@ type DIObjCProperty struct {
1166
1166
// present.
1167
1167
MetadataID
1168
1168
1169
- Name string // optional; empty if not present.
1170
- File Field // optional; nil if not present.
1171
- Line int64 // optional; zero value if not present.
1172
- Setter string // optional; empty if not present.
1173
- Getter string // optional; empty if not present.
1174
- Attributes uint64 // optional; zero value if not present.
1175
- Type Field // optional; nil if not present.
1169
+ Name string // optional; empty if not present.
1170
+ File * DIFile // optional; nil if not present.
1171
+ Line int64 // optional; zero value if not present.
1172
+ Setter string // optional; empty if not present.
1173
+ Getter string // optional; empty if not present.
1174
+ Attributes uint64 // optional; zero value if not present.
1175
+ Type Field // optional; nil if not present.
1176
1176
}
1177
1177
1178
1178
// String returns the LLVM syntax representation of the specialized metadata node.
@@ -1235,7 +1235,7 @@ type DISubprogram struct {
1235
1235
Scope Field // optional; nil if not present.
1236
1236
Name string // optional; empty if not present.
1237
1237
LinkageName string // optional; empty if not present.
1238
- File Field // optional; nil if not present.
1238
+ File * DIFile // optional; nil if not present.
1239
1239
Line int64 // optional; zero value if not present.
1240
1240
Type Field // optional; nil if not present.
1241
1241
IsLocal bool // optional; zero value if not present.
0 commit comments