Skip to content

Regenerating bindings for v20.1.2 #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
./artifacts/pkg/**/*
./artifacts/tst/**/*
if-no-files-found: error
macos-x64:
macos-arm64:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
architecture: [ x64 ]
architecture: [ arm64 ]
configuration: [ debug, release ]
os: [ macos ]
steps:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
publish-nightlies-azure:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
needs: [ windows-x64, linux-x64, macos-x64, sign-nuget-preview, sign-nuget-release ]
needs: [ windows-x64, linux-x64, macos-arm64, sign-nuget-preview, sign-nuget-release ]
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -169,7 +169,7 @@ jobs:
publish-nightlies-github:
runs-on: ubuntu-latest
if: false
needs: [ windows-x64, linux-x64, macos-x64, sign-nuget-preview, sign-nuget-release ]
needs: [ windows-x64, linux-x64, macos-arm64, sign-nuget-preview, sign-nuget-release ]
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PackageValidationBaselineVersion>16.0.0</PackageValidationBaselineVersion>
<Product>LLVMSharp</Product>
<RootNamespace>LLVMSharp</RootNamespace>
<VersionPrefix>18.1.0</VersionPrefix>
<VersionPrefix>20.1.2</VersionPrefix>
<VersionSuffix Condition="'$(EXCLUDE_SUFFIX_FROM_VERSION)' != 'true'">rc1</VersionSuffix>
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request'">pr</VersionSuffix>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- Package versions for package references across all projects -->
<ItemGroup>
<PackageVersion Include="libLLVM" Version="18.1.3.1" />
<PackageVersion Include="libLLVM" Version="20.1.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="NUnit" Version="4.1.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
Expand Down
6 changes: 0 additions & 6 deletions LLVMSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.linux-arm64
packages\libLLVM\libLLVM.runtime.linux-arm64\libLLVM.runtime.linux-arm64.nuspec = packages\libLLVM\libLLVM.runtime.linux-arm64\libLLVM.runtime.linux-arm64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.osx-x64", "libLLVM.runtime.osx-x64", "{D4550E5E-9485-4480-B2B6-9503EEC935BF}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec = packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-x64", "libLLVM.runtime.win-x64", "{E785DDD0-B9CD-4412-8A3C-4E65C601168C}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.win-x64\libLLVM.runtime.win-x64.nuspec = packages\libLLVM\libLLVM.runtime.win-x64\libLLVM.runtime.win-x64.nuspec
Expand Down Expand Up @@ -133,7 +128,6 @@ Global
{9D46FF1C-E09F-4063-A97D-C09F26310B67} = {CD611531-75EA-4328-8C25-8D0496E61EC2}
{568A07AC-AF60-4A3E-ABD3-2B51D9DD4EBF} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{16539CB8-8AC7-4AD0-9D54-8EE615B2FCF3} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{D4550E5E-9485-4480-B2B6-9503EEC935BF} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{E785DDD0-B9CD-4412-8A3C-4E65C601168C} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{19DB05E9-59B6-45E9-B47D-62913F7DF9A8} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6} = {62B5C536-C224-4EE1-972F-05F732B5980B}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.linux-arm64</id>
<version>18.1.3</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>linux arm64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.linux-x64</id>
<version>18.1.3</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>linux x64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.osx-arm64</id>
<version>18.1.3</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>osx arm64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.win-arm64</id>
<version>18.1.3.1</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>win arm64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.win-x64</id>
<version>18.1.3.1</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>win x64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
4 changes: 2 additions & 2 deletions packages/libLLVM/libLLVM/libLLVM.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM</id>
<version>18.1.3.1</version>
<version>20.1.2</version>
<authors>.NET Foundation and Contributors</authors>
<owners>.NET Foundation and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/dotnet/llvmsharp</projectUrl>
<description>Multi-platform native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-18.1.3" />
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-20.1.2" />
<dependencies>
<group targetFramework=".NETStandard2.0" />
</dependencies>
Expand Down
15 changes: 5 additions & 10 deletions packages/libLLVM/libLLVM/runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,27 @@
"runtimes": {
"linux-arm64": {
"libLLVM": {
"libLLVM.runtime.linux-arm64": "18.1.3"
"libLLVM.runtime.linux-arm64": "20.1.2"
}
},
"linux-x64": {
"libLLVM": {
"libLLVM.runtime.linux-x64": "18.1.3"
"libLLVM.runtime.linux-x64": "20.1.2"
}
},
"osx-arm64": {
"libLLVM": {
"libLLVM.runtime.osx-arm64": "18.1.3"
}
},
"osx-x64": {
"libLLVM": {
"libLLVM.runtime.osx-x64": "18.1.3"
"libLLVM.runtime.osx-arm64": "20.1.2"
}
},
"win-arm64": {
"libLLVM": {
"libLLVM.runtime.win-arm64": "18.1.3.1"
"libLLVM.runtime.win-arm64": "20.1.2"
}
},
"win-x64": {
"libLLVM": {
"libLLVM.runtime.win-x64": "18.1.3.1"
"libLLVM.runtime.win-x64": "20.1.2"
}
}
}
Expand Down
14 changes: 13 additions & 1 deletion sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-18.1.3/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-20.1.2/llvm/include/llvm-c
// Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information.

using System.Runtime.InteropServices;
Expand Down Expand Up @@ -51,6 +51,9 @@ public static unsafe partial class LLVM
[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSparcTargetInfo", ExactSpelling = true)]
public static extern void InitializeSparcTargetInfo();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSPIRVTargetInfo", ExactSpelling = true)]
public static extern void InitializeSPIRVTargetInfo();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSystemZTargetInfo", ExactSpelling = true)]
public static extern void InitializeSystemZTargetInfo();

Expand Down Expand Up @@ -108,6 +111,9 @@ public static unsafe partial class LLVM
[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSparcTarget", ExactSpelling = true)]
public static extern void InitializeSparcTarget();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSPIRVTarget", ExactSpelling = true)]
public static extern void InitializeSPIRVTarget();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSystemZTarget", ExactSpelling = true)]
public static extern void InitializeSystemZTarget();

Expand Down Expand Up @@ -165,6 +171,9 @@ public static unsafe partial class LLVM
[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSparcTargetMC", ExactSpelling = true)]
public static extern void InitializeSparcTargetMC();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSPIRVTargetMC", ExactSpelling = true)]
public static extern void InitializeSPIRVTargetMC();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSystemZTargetMC", ExactSpelling = true)]
public static extern void InitializeSystemZTargetMC();

Expand Down Expand Up @@ -222,6 +231,9 @@ public static unsafe partial class LLVM
[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSparcAsmPrinter", ExactSpelling = true)]
public static extern void InitializeSparcAsmPrinter();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSPIRVAsmPrinter", ExactSpelling = true)]
public static extern void InitializeSPIRVAsmPrinter();

[DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeSystemZAsmPrinter", ExactSpelling = true)]
public static extern void InitializeSystemZAsmPrinter();

Expand Down
8 changes: 0 additions & 8 deletions sources/LLVMSharp.Interop/Extensions/LLVMBuilderRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,6 @@ public readonly LLVMValueRef BuildNUWMul(LLVMValueRef LHS, LLVMValueRef RHS, Rea
return LLVM.BuildNUWMul(this, LHS, RHS, marshaledName);
}

public readonly LLVMValueRef BuildNUWNeg(LLVMValueRef V, string Name = "") => BuildNUWNeg(V, Name.AsSpan());

public readonly LLVMValueRef BuildNUWNeg(LLVMValueRef V, ReadOnlySpan<char> Name)
{
using var marshaledName = new MarshaledString(Name);
return LLVM.BuildNUWNeg(this, V, marshaledName);
}

public readonly LLVMValueRef BuildNUWSub(LLVMValueRef LHS, LLVMValueRef RHS, string Name = "") => BuildNUWSub(LHS, RHS, Name.AsSpan());

public readonly LLVMValueRef BuildNUWSub(LLVMValueRef LHS, LLVMValueRef RHS, ReadOnlySpan<char> Name)
Expand Down
2 changes: 0 additions & 2 deletions sources/LLVMSharp.Interop/Extensions/LLVMContextRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public unsafe partial struct LLVMContextRef(IntPtr handle) : IDisposable, IEquat

public readonly LLVMTypeRef X86FP80Type => (Handle != IntPtr.Zero) ? LLVM.X86FP80TypeInContext(this) : default;

public readonly LLVMTypeRef X86MMXType => (Handle != IntPtr.Zero) ? LLVM.X86MMXTypeInContext(this) : default;

public readonly LLVMTypeRef X86AMXType => (Handle != IntPtr.Zero) ? LLVM.X86AMXTypeInContext(this) : default;

public static implicit operator LLVMContextRef(LLVMOpaqueContext* value) => new LLVMContextRef((IntPtr)value);
Expand Down
26 changes: 26 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMDbgRecordRef.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

using System;

namespace LLVMSharp.Interop;

public unsafe partial struct LLVMDbgRecordRef(IntPtr handle) : IEquatable<LLVMDbgRecordRef>
{
public IntPtr Handle = handle;

public static implicit operator LLVMDbgRecordRef(LLVMOpaqueDbgRecord* Comdat) => new LLVMDbgRecordRef((IntPtr)Comdat);

public static implicit operator LLVMOpaqueDbgRecord*(LLVMDbgRecordRef Comdat) => (LLVMOpaqueDbgRecord*)Comdat.Handle;

public static bool operator ==(LLVMDbgRecordRef left, LLVMDbgRecordRef right) => left.Handle == right.Handle;

public static bool operator !=(LLVMDbgRecordRef left, LLVMDbgRecordRef right) => !(left == right);

public override readonly bool Equals(object? obj) => (obj is LLVMDbgRecordRef other) && Equals(other);

public readonly bool Equals(LLVMDbgRecordRef other) => this == other;

public override readonly int GetHashCode() => Handle.GetHashCode();

public override readonly string ToString() => $"{nameof(LLVMDbgRecordRef)}: {Handle:X}";
}
2 changes: 0 additions & 2 deletions sources/LLVMSharp.Interop/Extensions/LLVMTypeRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public unsafe partial struct LLVMTypeRef(IntPtr handle) : IEquatable<LLVMTypeRef

public static LLVMTypeRef X86FP80 => LLVM.X86FP80Type();

public static LLVMTypeRef X86MMX => LLVM.X86MMXType();

public static LLVMTypeRef X86AMX => LLVM.X86AMXType();

public readonly LLVMValueRef AlignOf => (Handle != IntPtr.Zero) ? LLVM.AlignOf(this) : default;
Expand Down
4 changes: 0 additions & 4 deletions sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -738,8 +738,6 @@ public static LLVMValueRef CreateConstNamedStruct(LLVMTypeRef StructTy, ReadOnly

public static LLVMValueRef CreateConstNUWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) => LLVM.ConstNUWMul(LHSConstant, RHSConstant);

public static LLVMValueRef CreateConstNUWNeg(LLVMValueRef ConstantVal) => LLVM.ConstNUWNeg(ConstantVal);

public static LLVMValueRef CreateConstNUWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) => LLVM.ConstNUWSub(LHSConstant, RHSConstant);

public static LLVMValueRef CreateConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) => LLVM.ConstPointerCast(ConstantVal, ToType);
Expand All @@ -766,8 +764,6 @@ public static LLVMValueRef CreateConstRealOfStringAndSize(LLVMTypeRef RealTy, Re
return LLVM.ConstRealOfStringAndSize(RealTy, marshaledText, (uint)marshaledText.Length);
}

public static LLVMValueRef CreateConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) => LLVM.ConstShl(LHSConstant, RHSConstant);

public static LLVMValueRef CreateConstShuffleVector(LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant) => LLVM.ConstShuffleVector(VectorAConstant, VectorBConstant, MaskConstant);

public static LLVMValueRef CreateConstStruct(LLVMValueRef[] ConstantVals, bool Packed) => CreateConstStruct(ConstantVals.AsSpan(), Packed);
Expand Down
6 changes: 3 additions & 3 deletions sources/LLVMSharp.Interop/LLVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ private static bool TryResolveLLVM(Assembly assembly, DllImportSearchPath? searc
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
return NativeLibrary.TryLoad("libLLVM.so.18", assembly, searchPath, out nativeLibrary)
|| NativeLibrary.TryLoad("libLLVM-18", assembly, searchPath, out nativeLibrary)
return NativeLibrary.TryLoad("libLLVM.so.20", assembly, searchPath, out nativeLibrary)
|| NativeLibrary.TryLoad("libLLVM-20", assembly, searchPath, out nativeLibrary)
|| NativeLibrary.TryLoad("libLLVM.so.1", assembly, searchPath, out nativeLibrary);
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
return NativeLibrary.TryLoad("LLVM-C.dll", assembly, searchPath, out nativeLibrary);
}
Expand Down
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMComdat.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-18.1.3/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-20.1.2/llvm/include/llvm-c
// Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information.

namespace LLVMSharp.Interop;
Expand Down
Loading