@@ -673,7 +673,6 @@ LLVMMetadataRef LLVMDIBuilderCreateUnionType(
673
673
LLVMMetadataRef * Elements , unsigned NumElements , unsigned RunTimeLang ,
674
674
const char * UniqueId , size_t UniqueIdLen );
675
675
676
-
677
676
/**
678
677
* Create debugging information entry for an array.
679
678
* \param Builder The DIBuilder.
@@ -689,6 +688,78 @@ LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size,
689
688
LLVMMetadataRef * Subscripts ,
690
689
unsigned NumSubscripts );
691
690
691
+ /**
692
+ * Create debugging information entry for a set.
693
+ * @param Builder The DIBuilder.
694
+ * \param Scope The scope this module is imported into.
695
+ * \param Name A name that uniquely identifies this set.
696
+ * \param NameLen The length of the C string passed to \c Name.
697
+ * \param File File where the set is located.
698
+ * \param Line Line number of the declaration.
699
+ * \param SizeInBits Set size.
700
+ * \param AlignInBits Set alignment.
701
+ * @param BaseTy The base type of the set.
702
+ */
703
+ LLVMMetadataRef LLVMDIBuilderCreateSetType (
704
+ LLVMDIBuilderRef Builder , LLVMMetadataRef Scope , const char * Name ,
705
+ size_t NameLen , LLVMMetadataRef File , unsigned LineNumber ,
706
+ uint64_t SizeInBits , uint32_t AlignInBits , LLVMMetadataRef BaseTy );
707
+
708
+ /**
709
+ * Create a descriptor for a subrange with dynamic bounds.
710
+ * \param Builder The DIBuilder.
711
+ * \param Scope The scope this module is imported into.
712
+ * \param Name A name that uniquely identifies this set.
713
+ * \param NameLen The length of the C string passed to \c Name.
714
+ * \param LineNo Line number.
715
+ * \param File File where the subrange is located.
716
+ * \param SizeInBits Member size.
717
+ * \param AlignInBits Member alignment.
718
+ * \param Flags Flags.
719
+ * \param BaseTy The base type of the subrange. eg integer or enumeration
720
+ * \param LowerBound Lower bound of the subrange.
721
+ * \param UpperBound Upper bound of the subrange.
722
+ * \param Stride Stride of the subrange.
723
+ * \param Bias Bias of the subrange.
724
+ */
725
+ LLVMMetadataRef LLVMDIBuilderCreateSubrangeType (
726
+ LLVMDIBuilderRef Builder , LLVMMetadataRef Scope , const char * Name ,
727
+ size_t NameLen , unsigned LineNo , LLVMMetadataRef File ,
728
+ uint64_t SizeInBits , uint32_t AlignInBits ,
729
+ LLVMDIFlags Flags , LLVMMetadataRef BaseTy ,
730
+ LLVMMetadataRef LowerBound , LLVMMetadataRef UpperBound ,
731
+ LLVMMetadataRef Stride , LLVMMetadataRef Bias );
732
+
733
+ /**
734
+ * Create debugging information entry for a dynamic array.
735
+ * \param Builder The DIBuilder.
736
+ * \param Size Array size.
737
+ * \param AlignInBits Alignment.
738
+ * \param Ty Element type.
739
+ * \param Subscripts Subscripts.
740
+ * \param NumSubscripts Number of subscripts.
741
+ * \param DataLocation DataLocation.
742
+ * \param Associated Associated.
743
+ * \param Allocated Allocated.
744
+ * \param Rank Rank.
745
+ * \param BitStride BitStride.
746
+ */
747
+ LLVMMetadataRef LLVMDIBuilderCreateDynamicArrayType (
748
+ LLVMDIBuilderRef Builder , LLVMMetadataRef Scope , const char * Name ,
749
+ size_t NameLen , unsigned LineNo , LLVMMetadataRef File ,
750
+ uint64_t Size , uint32_t AlignInBits ,
751
+ LLVMMetadataRef Ty , LLVMMetadataRef * Subscripts , unsigned NumSubscripts ,
752
+ LLVMMetadataRef DataLocation , LLVMMetadataRef Associated ,
753
+ LLVMMetadataRef Allocated , LLVMMetadataRef Rank , LLVMMetadataRef BitStride );
754
+
755
+ /**
756
+ * Replace arrays.
757
+ *
758
+ * @see DIBuilder::replaceArrays()
759
+ */
760
+ void LLVMReplaceArrays (LLVMDIBuilderRef Builder , LLVMMetadataRef * T ,
761
+ LLVMMetadataRef * Elements , unsigned NumElements );
762
+
692
763
/**
693
764
* Create debugging information entry for a vector type.
694
765
* \param Builder The DIBuilder.
0 commit comments