@@ -356,7 +356,7 @@ internal static partial class NativeMethods
356356 [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
357357 internal static extern int LLVMGetValueID ( LLVMValueRef @val ) ;
358358
359- [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
359+ [ DllImport ( LibraryPath , EntryPoint = "LLVMBuildIntCast2" , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
360360 internal static extern LLVMValueRef LLVMBuildIntCast ( LLVMBuilderRef @param0 , LLVMValueRef @Val , LLVMTypeRef @DestTy , [ MarshalAs ( UnmanagedType . Bool ) ] bool isSigned , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Name ) ;
361361
362362 [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
@@ -401,7 +401,7 @@ internal static partial class NativeMethods
401401 [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
402402 internal static extern void LLVMAddModuleFlag ( LLVMModuleRef @M , LLVMModFlagBehavior behavior , [ MarshalAs ( UnmanagedType . LPStr ) ] string @name , UInt32 @value ) ;
403403
404- [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
404+ [ DllImport ( LibraryPath , EntryPoint = "LLVMAddModuleFlagMetadata" , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
405405 internal static extern void LLVMAddModuleFlag ( LLVMModuleRef @M , LLVMModFlagBehavior behavior , [ MarshalAs ( UnmanagedType . LPStr ) ] string @name , LLVMMetadataRef @value ) ;
406406
407407 [ DllImport ( LibraryPath , CallingConvention = CallingConvention . Cdecl , BestFitMapping = false , ThrowOnUnmappableChar = true ) ]
0 commit comments