File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -766,9 +766,16 @@ native mod llvm {
766
766
fn LLVMAddTargetData ( TD : TargetDataRef , PM : PassManagerRef ) ;
767
767
/** Returns the size of a type. FIXME: rv is actually a C_Ulonglong! */
768
768
fn LLVMStoreSizeOfType ( TD : TargetDataRef , Ty : TypeRef ) -> c_uint ;
769
- /** Returns the alignment of a type. */
769
+ /** Returns the preferred alignment of a type. */
770
770
fn LLVMPreferredAlignmentOfType ( TD : TargetDataRef ,
771
771
Ty : TypeRef ) -> c_uint ;
772
+ /** Returns the minimum alignment of a type. */
773
+ fn LLVMABIAlignmentOfType ( TD : TargetDataRef ,
774
+ Ty : TypeRef ) -> c_uint ;
775
+ /** Returns the minimum alignment of a type when part of a call frame. */
776
+ fn LLVMCallFrameAlignmentOfType ( TD : TargetDataRef ,
777
+ Ty : TypeRef ) -> c_uint ;
778
+
772
779
/** Disposes target data. */
773
780
fn LLVMDisposeTargetData ( TD : TargetDataRef ) ;
774
781
You can’t perform that action at this time.
0 commit comments