Skip to content
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
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ these in the rsp; don't drop them expecting an external profile to supply them.
init calls. Regenerate against a full-target LLVM build/install, or restore these six aggregator bodies to
the canonical 20-target list afterward. The per-target `InitializeAMDGPUTarget()` etc. P/Invokes are
hand-written in `Extensions/LLVM.Manual.cs` and already cover every target regardless.
- **`LLVMAttributeIndex` / `LLVMJITSymbolGenericFlags` need a post-regen fixup.** Generator `21.1.8.3`
- **`LLVMAttributeIndex` / `LLVMJITSymbolGenericFlags` need a post-regen fixup.** Generator `22.1.8.0`
preserves the headers' `U` literal suffixes (`0U`, `1U << n`). The repo's `CA1028` policy (unsuppressed)
requires `Int32`-underlying enums, and `int` enums reject `U`-suffixed values (CS0266) — while switching
them to `uint` re-triggers `CA1028`. These two enums' values are version-stable, so after regen restore
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ jobs:
os: [ macos ]
steps:
- uses: actions/checkout@v4
# libLLVM 22.1.8 was linked against this Homebrew Z3 ABI.
- name: Install libLLVM Z3 dependency
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: |
set -euo pipefail
brew tap-new llvmsharp/ci
formula="$(brew --repository llvmsharp/ci)/Formula/z3.rb"
curl -fsSL https://raw.githubusercontent.com/Homebrew/homebrew-core/4b627f740ac5fe1871072e12aab203275812b6c5/Formula/z/z3.rb -o "$formula"
brew install llvmsharp/ci/z3
- run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }}
shell: bash
- uses: actions/upload-artifact@v4
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>20.1.2</PackageValidationBaselineVersion>
<Product>LLVMSharp</Product>
<RootNamespace>LLVMSharp</RootNamespace>
<VersionPrefix>21.1.8.1</VersionPrefix>
<VersionPrefix>22.1.8.0</VersionPrefix>
<VersionSuffix Condition="'$(PACKAGE_PUBLISH_MODE)' != 'stable'">rc1</VersionSuffix>
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request'">pr</VersionSuffix>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

<!-- Package versions for package references across all projects -->
<ItemGroup>
<PackageVersion Include="libLLVM" Version="21.1.8" />
<PackageVersion Include="libLLVM" Version="22.1.8" />
<PackageVersion Include="libLLVMSharp" Version="22.1.8.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="NUnit" Version="4.4.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="6.1.0" />
Expand Down
2 changes: 1 addition & 1 deletion samples/KaleidoscopeTutorial/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="libLLVM" Version="21.1.8" />
<PackageReference Include="libLLVM" Version="22.1.8" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\sources\LLVMSharp.Interop\LLVMSharp.Interop.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// 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.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using LLVMSharp.Interop;

namespace Kaleidoscope;
Expand All @@ -20,8 +22,11 @@ public KaleidoscopeJit()
{
LlvmSupport.EnsureTargetsInitialized();

LLVMOrcOpaqueLLJITBuilder* builder = LLVM.OrcCreateLLJITBuilder();
LLVM.OrcLLJITBuilderSetObjectLinkingLayerCreator(builder, &CreateObjectLinkingLayer, null);

LLVMOrcOpaqueLLJIT* jit;
LlvmSupport.ThrowIfError(LLVM.OrcCreateLLJIT(&jit, null), "Failed to create LLJIT");
LlvmSupport.ThrowIfError(LLVM.OrcCreateLLJIT(&jit, builder), "Failed to create LLJIT");
_jit = jit;

_mainJD = LLVM.OrcLLJITGetMainJITDylib(jit);
Expand Down Expand Up @@ -118,6 +123,10 @@ public void DefineSymbol(string name, nint address)
return threadSafeModule;
}

[UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])]
private static LLVMOrcOpaqueObjectLayer* CreateObjectLinkingLayer(void* context, LLVMOrcOpaqueExecutionSession* executionSession, sbyte* triple)
=> LLVM.OrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManagerReserveAlloc(executionSession, ReserveAlloc: 1);

public void Dispose()
{
if (_jit is not null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ public static void EnsureTargetsInitialized()
return;
}

LLVM.InitializeAllTargetInfos();
LLVM.InitializeAllTargets();
LLVM.InitializeAllTargetMCs();
LLVM.InitializeAllAsmPrinters();
LLVM.InitializeAllAsmParsers();
_ = LLVM.InitializeNativeTarget();
_ = LLVM.InitializeNativeAsmPrinter();
_ = LLVM.InitializeNativeAsmParser();

s_targetsInitialized = true;
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function DetectChanges {
detectLibllvmsharp=true
else
# libLLVM regenerates when the tracked LLVM version changes. The libLLVM package
# version tracks the full patch (e.g. 21.1.8), so compare the full version.
# version tracks the full patch (e.g. 22.1.8), so compare the full version.
prevVersion="$(git -C "$RepoRoot" show "$base:CMakeLists.txt" 2>/dev/null | sed -n 's/^project(LLVMSharp VERSION \([0-9.]*\)).*/\1/p')"

if [ "$llvm" != "$prevVersion" ]; then
Expand Down
2 changes: 1 addition & 1 deletion sources/GenerateLLVM-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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.
6 changes: 3 additions & 3 deletions sources/GenerateLLVM.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ llvm_blake3_version=@blake3_version
LLVM_BLAKE3_VERSION_STRING=@BLAKE3_VERSION_STRING
LLVMOpaqueValueMetadataEntry=LLVMValueMetadataEntry
LLVMOpaqueModuleFlagEntry=LLVMModuleFlagEntry
__AnonymousEnum_Core_L472_C1=@LLVMAttributeIndex
__AnonymousEnum_Core_L496_C1=@LLVMFastMathFlags
__AnonymousEnum_Core_L519_C1=@LLVMGEPNoWrapFlags
__AnonymousEnum_Core_L473_C1=@LLVMAttributeIndex
__AnonymousEnum_Core_L497_C1=@LLVMFastMathFlags
__AnonymousEnum_Core_L520_C1=@LLVMGEPNoWrapFlags
__AnonymousEnum_DebugInfo_L164_C1=@LLVMMetadataKind
--test-output
./tests/LLVMSharp.UnitTests/Interop
Expand Down
2 changes: 1 addition & 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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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;
Expand Down
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Extensions/LLVMBasicBlockRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static LLVMBasicBlockRef InsertInContext(LLVMContextRef C, LLVMBasicBlock
public readonly LLVMBasicBlockRef InsertBasicBlock(ReadOnlySpan<char> Name)
{
using var marshaledName = new MarshaledString(Name);
return LLVM.InsertBasicBlock(this, marshaledName);
return LLVM.InsertBasicBlockInContext(Parent.GlobalParent.Context, this, marshaledName);
}

public readonly void MoveAfter(LLVMBasicBlockRef MovePos) => LLVM.MoveBasicBlockAfter(this, MovePos);
Expand Down
2 changes: 2 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMContextRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ public unsafe partial struct LLVMContextRef(IntPtr handle) : IDisposable, IEquat
{
public IntPtr Handle = handle;

#pragma warning disable CS0618 // Global-context API retained for compatibility.
public static LLVMContextRef Global => LLVM.GetGlobalContext();
#pragma warning restore CS0618

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

Expand Down
2 changes: 2 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMModuleRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ public readonly string Target
public static LLVMModuleRef CreateWithName(ReadOnlySpan<char> ModuleID)
{
using var marshaledModuleID = new MarshaledString(ModuleID);
#pragma warning disable CS0618 // Global-context API retained for compatibility.
return LLVM.ModuleCreateWithName(marshaledModuleID);
#pragma warning restore CS0618
}

public readonly LLVMValueRef AddAlias2(LLVMTypeRef ValueTy, uint AddrSpace, LLVMValueRef Aliasee, string Name) => AddAlias2(ValueTy, AddrSpace, Aliasee, Name.AsSpan());
Expand Down
6 changes: 6 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMTypeRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public unsafe partial struct LLVMTypeRef(IntPtr handle) : IEquatable<LLVMTypeRef
{
public IntPtr Handle = handle;

#pragma warning disable CS0618 // Global-context APIs retained for compatibility.
public static LLVMTypeRef BFloat => LLVM.BFloatType();

public static LLVMTypeRef Double => LLVM.DoubleType();
Expand Down Expand Up @@ -38,6 +39,7 @@ public unsafe partial struct LLVMTypeRef(IntPtr handle) : IEquatable<LLVMTypeRef
public static LLVMTypeRef X86FP80 => LLVM.X86FP80Type();

public static LLVMTypeRef X86AMX => LLVM.X86AMXType();
#pragma warning restore CS0618

[DebuggerBrowsable(DebuggerBrowsableState.Never)] // Justification: causes native allocation
public readonly LLVMValueRef AlignOf => (Handle != IntPtr.Zero) ? LLVM.AlignOf(this) : default;
Expand Down Expand Up @@ -147,11 +149,13 @@ public static LLVMTypeRef CreateFunction(LLVMTypeRef ReturnType, ReadOnlySpan<LL

public static LLVMTypeRef CreateArray2(LLVMTypeRef ElementType, ulong ElementCount) => LLVM.ArrayType2(ElementType, ElementCount);

#pragma warning disable CS0618 // Global-context APIs retained for compatibility.
public static LLVMTypeRef CreateInt(uint NumBits) => LLVM.IntType(NumBits);

public static LLVMTypeRef CreateIntPtr(LLVMTargetDataRef TD) => LLVM.IntPtrType(TD);

public static LLVMTypeRef CreateIntPtrForAS(LLVMTargetDataRef TD, uint AS) => LLVM.IntPtrTypeForAS(TD, AS);
#pragma warning restore CS0618

public static LLVMTypeRef CreatePointer(LLVMTypeRef ElementType, uint AddressSpace) => LLVM.PointerType(ElementType, AddressSpace);

Expand All @@ -161,7 +165,9 @@ public static LLVMTypeRef CreateStruct(ReadOnlySpan<LLVMTypeRef> ElementTypes, b
{
fixed (LLVMTypeRef* pElementTypes = ElementTypes)
{
#pragma warning disable CS0618 // Global-context API retained for compatibility.
return LLVM.StructType((LLVMOpaqueType**)pElementTypes, (uint)ElementTypes.Length, Packed ? 1 : 0);
#pragma warning restore CS0618
}
}

Expand Down
10 changes: 9 additions & 1 deletion sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,9 @@ public static LLVMValueRef CreateConstStruct(ReadOnlySpan<LLVMValueRef> Constant
{
fixed (LLVMValueRef* pConstantVals = ConstantVals)
{
#pragma warning disable CS0618 // Global-context API retained for compatibility.
return LLVM.ConstStruct((LLVMOpaqueValue**)pConstantVals, (uint)ConstantVals.Length, Packed ? 1 : 0);
#pragma warning restore CS0618
}
}

Expand Down Expand Up @@ -1385,7 +1387,9 @@ public static LLVMValueRef CreateMDNode(ReadOnlySpan<LLVMValueRef> Vals)
{
fixed (LLVMValueRef* pVals = Vals)
{
#pragma warning disable CS0618 // Global-context API retained for compatibility.
return LLVM.MDNode((LLVMOpaqueValue**)pVals, (uint)Vals.Length);
#pragma warning restore CS0618
}
}

Expand Down Expand Up @@ -1422,7 +1426,7 @@ public readonly void AddTargetDependentFunctionAttr(ReadOnlySpan<char> A, ReadOn
public readonly LLVMBasicBlockRef AppendBasicBlock(ReadOnlySpan<char> Name)
{
using var marshaledName = new MarshaledString(Name);
return LLVM.AppendBasicBlock(this, marshaledName);
return LLVM.AppendBasicBlockInContext(GlobalParent.Context, this, marshaledName);
}

public readonly void AppendExistingBasicBlock(LLVMBasicBlockRef BB) => LLVM.AppendExistingBasicBlock(this, BB);
Expand Down Expand Up @@ -1785,6 +1789,8 @@ public readonly ReadOnlySpan<byte> GetRawDataValues()

public readonly LLVMBasicBlockRef GetSuccessor(uint i) => LLVM.GetSuccessor(this, i);

public readonly LLVMValueRef GetSwitchCaseValue(uint i) => LLVM.GetSwitchCaseValue(this, i);

public readonly void GlobalClearMetadata() => LLVM.GlobalClearMetadata(this);

public readonly (uint Kind, LLVMMetadataRef Metadata)[] GlobalCopyAllMetadata()
Expand Down Expand Up @@ -1861,6 +1867,8 @@ public void SetAlignment(uint Bytes)

public readonly void SetSuccessor(uint i, LLVMBasicBlockRef block) => LLVM.SetSuccessor(this, i, block);

public readonly void SetSwitchCaseValue(uint i, LLVMValueRef CaseValue) => LLVM.SetSwitchCaseValue(this, i, CaseValue);

public readonly void SetValueName2(string Name) => SetValueName2(Name.AsSpan());

public readonly void SetValueName2(ReadOnlySpan<char> Name)
Expand Down
10 changes: 5 additions & 5 deletions sources/LLVMSharp.Interop/LLVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static unsafe partial class LLVM
{
public static event DllImportResolver? ResolveLibrary;

public const int MajorVersion = 21;
public const int MajorVersion = 22;
public const int MinorVersion = 1;

static LLVM()
Expand All @@ -34,14 +34,14 @@ private static IntPtr OnDllImport(string libraryName, Assembly assembly, DllImpo
return nativeLibrary;
}

// Then try the normal resolution of the library
if (TryResolve(libraryName, assembly, searchPath.GetValueOrDefault(), out nativeLibrary))
// Then try library specific resolution as applicable
if (libraryName.Equals("libLLVM", StringComparison.Ordinal) && TryResolveLLVM(assembly, searchPath, out nativeLibrary))
{
return nativeLibrary;
}

// Finally, do library specific resolution as applicable
if (libraryName.Equals("libLLVM", StringComparison.Ordinal) && TryResolveLLVM(assembly, searchPath, out nativeLibrary))
// Finally, try the normal resolution of the library
if (TryResolve(libraryName, assembly, searchPath.GetValueOrDefault(), out nativeLibrary))
{
return nativeLibrary;
}
Expand Down
1 change: 1 addition & 0 deletions sources/LLVMSharp.Interop/LLVMSharp.Interop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

<ItemGroup>
<PackageReference Include="libLLVM" />
<PackageReference Include="libLLVMSharp" />
</ItemGroup>

</Project>
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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMDiagnosticHandler.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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMFatalErrorHandler.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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMJITCSymbolMapPair.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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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;
Expand Down
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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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;
Expand Down
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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMOpInfoCallback.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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
2 changes: 1 addition & 1 deletion sources/LLVMSharp.Interop/Manual/LLVMOpaqueAttributeRef.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-21.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-22.1.8/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
Loading