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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ jobs:
os: [ macos ]
steps:
- uses: actions/checkout@v4
# libLLVM 22.1.8 was linked against this Homebrew Z3 ABI.
# libLLVM 23.1.5 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"
curl -fsSL https://raw.githubusercontent.com/Homebrew/homebrew-core/768a1d39b034c6912104191026e3dd940289e8b2/Formula/z/z3.rb -o "$formula"
brew install llvmsharp/ci/z3
- run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }}
shell: bash
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>22.1.8.0</VersionPrefix>
<VersionPrefix>23.1.5.0</VersionPrefix>
<VersionSuffix Condition="'$(PACKAGE_PUBLISH_MODE)' != 'stable'">rc1</VersionSuffix>
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request'">pr</VersionSuffix>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<!-- Package versions for package references across all projects -->
<ItemGroup>
<PackageVersion Include="libLLVM" Version="22.1.8" />
<PackageVersion Include="libLLVMSharp" Version="22.1.8.1" />
<PackageVersion Include="libLLVM" Version="23.1.5" />
<PackageVersion Include="libLLVMSharp" Version="23.1.5.0" />
<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="22.1.8" />
<PackageReference Include="libLLVM" Version="23.1.5" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\sources\LLVMSharp.Interop\LLVMSharp.Interop.csproj" />
</ItemGroup>

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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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_L473_C1=@LLVMAttributeIndex
__AnonymousEnum_Core_L497_C1=@LLVMFastMathFlags
__AnonymousEnum_Core_L520_C1=@LLVMGEPNoWrapFlags
__AnonymousEnum_Core_L483_C1=@LLVMAttributeIndex
__AnonymousEnum_Core_L507_C1=@LLVMFastMathFlags
__AnonymousEnum_Core_L530_C1=@LLVMGEPNoWrapFlags
__AnonymousEnum_DebugInfo_L164_C1=@LLVMMetadataKind
--test-output
./tests/LLVMSharp.UnitTests/Interop
Expand Down
2 changes: 2 additions & 0 deletions sources/GenerateLLVMSharp.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ multi-file
preview-codegen
trimmable-vtbls
unix-types
--exclude
LLVM_FOR_EACH_METADATA_SUBCLASS
--define-macro
_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
LLVMSharp_EXPORTS
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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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
5 changes: 5 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMContextRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ public readonly LLVMAttributeRef CreateEnumAttribute(uint KindId, ulong Val)
return LLVM.CreateEnumAttribute(this, KindId, Val);
}

public readonly LLVMAttributeRef CreateDenormalFPEnvAttribute(LLVMDenormalModeKind DefaultModeOutput, LLVMDenormalModeKind DefaultModeInput, LLVMDenormalModeKind FloatModeOutput, LLVMDenormalModeKind FloatModeInput) =>
LLVM.CreateDenormalFPEnvAttribute(this, DefaultModeOutput, DefaultModeInput, FloatModeOutput, FloatModeInput);

public static uint GetEnumAttributeKindForName(ReadOnlySpan<char> Name)
{
using var marshaledName = new MarshaledString(Name);
Expand Down Expand Up @@ -231,6 +234,8 @@ public readonly LLVMValueRef GetConstStruct(ReadOnlySpan<LLVMValueRef> ConstantV

public readonly LLVMTypeRef GetIntType(uint NumBits) => LLVM.IntTypeInContext(this, NumBits);

public readonly LLVMTypeRef GetByteType(uint NumBits) => LLVM.ByteTypeInContext(this, NumBits);

public readonly LLVMTypeRef GetIntrinsicType(uint ID, LLVMTypeRef[] ParamTypes) => GetIntrinsicType(ID, ParamTypes.AsSpan());

public readonly LLVMTypeRef GetIntrinsicType(uint ID, ReadOnlySpan<LLVMTypeRef> ParamTypes)
Expand Down
2 changes: 2 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/LLVMTypeRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public unsafe partial struct LLVMTypeRef(IntPtr handle) : IEquatable<LLVMTypeRef

public readonly uint IntWidth => (Kind == LLVMTypeKind.LLVMIntegerTypeKind) ? LLVM.GetIntTypeWidth(this) : default;

public readonly uint ByteWidth => (Kind == LLVMTypeKind.LLVMByteTypeKind) ? LLVM.GetByteTypeWidth(this) : default;

public readonly bool IsFunctionVarArg => (Kind == LLVMTypeKind.LLVMFunctionTypeKind) && LLVM.IsFunctionVarArg(this) != 0;

public readonly bool IsLiteralStruct => (Kind == LLVMTypeKind.LLVMStructTypeKind) && LLVM.IsLiteralStruct(this) != 0;
Expand Down
58 changes: 55 additions & 3 deletions sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public readonly LLVMValueRef Condition
{
get
{
return (IsABranchInst != null) ? LLVM.GetCondition(this) : default;
return (IsACondBrInst != null) ? LLVM.GetCondition(this) : default;
}

set
Expand All @@ -140,6 +140,10 @@ public readonly LLVMValueRef Condition

public readonly long ConstIntSExt => (IsAConstantInt != null) ? LLVM.ConstIntGetSExtValue(this) : default;

public readonly ulong ConstByteZExt => (IsAConstantByte != null) ? LLVM.ConstByteGetZExtValue(this) : default;

public readonly long ConstByteSExt => (IsAConstantByte != null) ? LLVM.ConstByteGetSExtValue(this) : default;

public readonly LLVMOpcode ConstOpcode => (IsAConstantExpr != null) ? LLVM.GetConstOpcode(this) : default;

public readonly double ConstRealDouble => (IsAConstantFP != null) ? GetConstRealDouble(out _) : default;
Expand Down Expand Up @@ -505,7 +509,14 @@ public readonly uint InstructionCallConv

public readonly LLVMValueRef IsABlockAddress => LLVM.IsABlockAddress(this);

public readonly LLVMValueRef IsABranchInst => LLVM.IsABranchInst(this);
public readonly LLVMValueRef IsABranchInst
{
get
{
var unconditionalBranch = IsAUncondBrInst;
return (unconditionalBranch != null) ? unconditionalBranch : IsACondBrInst;
}
}

public readonly LLVMValueRef IsACallBrInst => LLVM.IsACallBrInst(this);

Expand All @@ -525,12 +536,16 @@ public readonly uint InstructionCallConv

public readonly LLVMValueRef IsACmpInst => LLVM.IsACmpInst(this);

public readonly LLVMValueRef IsACondBrInst => LLVM.IsACondBrInst(this);

public readonly LLVMValueRef IsAConstant => LLVM.IsAConstant(this);

public readonly LLVMValueRef IsAConstantAggregateZero => LLVM.IsAConstantAggregateZero(this);

public readonly LLVMValueRef IsAConstantArray => LLVM.IsAConstantArray(this);

public readonly LLVMValueRef IsAConstantByte => LLVM.IsAConstantByte(this);

public readonly LLVMValueRef IsAConstantDataArray => LLVM.IsAConstantDataArray(this);

public readonly LLVMValueRef IsAConstantDataSequential => LLVM.IsAConstantDataSequential(this);
Expand Down Expand Up @@ -661,6 +676,8 @@ public readonly uint InstructionCallConv

public readonly LLVMValueRef IsAUndefValue => LLVM.IsAUndefValue(this);

public readonly LLVMValueRef IsAUncondBrInst => LLVM.IsAUncondBrInst(this);

public readonly LLVMValueRef IsAUnreachableInst => LLVM.IsAUnreachableInst(this);

public readonly LLVMValueRef IsAUser => LLVM.IsAUser(this);
Expand Down Expand Up @@ -701,7 +718,7 @@ public readonly bool IsCleanup
}
}

public readonly bool IsConditional => (IsABranchInst != null) && LLVM.IsConditional(this) != 0;
public readonly bool IsConditional => IsACondBrInst != null;

public readonly bool IsConstant => (Handle != IntPtr.Zero) && LLVM.IsConstant(this) != 0;

Expand Down Expand Up @@ -1213,6 +1230,32 @@ public static LLVMValueRef CreateConstIntOfStringAndSize(LLVMTypeRef IntTy, Read
return LLVM.ConstIntOfStringAndSize(IntTy, marshaledText, (uint)marshaledText.Length, Radix);
}

public static LLVMValueRef CreateConstByte(LLVMTypeRef ByteTy, ulong N)
{
ThrowIfNotByteType(ByteTy, nameof(ByteTy));
return LLVM.ConstByte(ByteTy, N);
}

public static LLVMValueRef CreateConstByteOfArbitraryPrecision(LLVMTypeRef ByteTy, ulong[] Words) => CreateConstByteOfArbitraryPrecision(ByteTy, Words.AsSpan());

public static LLVMValueRef CreateConstByteOfArbitraryPrecision(LLVMTypeRef ByteTy, ReadOnlySpan<ulong> Words)
{
ThrowIfNotByteType(ByteTy, nameof(ByteTy));
fixed (ulong* pWords = Words)
{
return LLVM.ConstByteOfArbitraryPrecision(ByteTy, (uint)Words.Length, pWords);
}
}

public static LLVMValueRef CreateConstByteOfStringAndSize(LLVMTypeRef ByteTy, string Text, byte Radix) => CreateConstByteOfStringAndSize(ByteTy, Text.AsSpan(), Radix);

public static LLVMValueRef CreateConstByteOfStringAndSize(LLVMTypeRef ByteTy, ReadOnlySpan<char> Text, byte Radix)
{
ThrowIfNotByteType(ByteTy, nameof(ByteTy));
using var marshaledText = new MarshaledString(Text);
return LLVM.ConstByteOfStringAndSize(ByteTy, marshaledText, (nuint)marshaledText.Length, Radix);
}

public static LLVMValueRef CreateConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
{
// Mirrors ConstantExpr::getIntToPtr: integer source, pointer destination.
Expand Down Expand Up @@ -1317,6 +1360,15 @@ private static void ThrowIfNotIntegerType(LLVMTypeRef IntTy, string paramName)
}
}

private static void ThrowIfNotByteType(LLVMTypeRef ByteTy, string paramName)
{
// The native ConstByte APIs expect ByteType and do not accept integer types.
if (ByteTy.Kind is not LLVMTypeKind.LLVMByteTypeKind)
{
throw new ArgumentException($"Expected a byte type, but was given '{ByteTy.Kind}'.", paramName);
}
}

[DoesNotReturn]
private static void ThrowNotIntegerType(LLVMTypeRef IntTy, string paramName) =>
throw new ArgumentException($"Expected an integer type, but was given '{IntTy.Kind}'. Use {nameof(CreateConstReal)} to create floating-point constants.", paramName);
Expand Down
34 changes: 34 additions & 0 deletions sources/LLVMSharp.Interop/Extensions/llvmsharp.Manual.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ public static ReadOnlySpan<byte> ConstantDataArray_getData(LLVMValueRef array)
return new ReadOnlySpan<byte>(buffer, (int)length);
}

public static string CmpInst_getPredicateName(LLVMValueRef instruction)
{
int length = 0;
var name = CmpInst_getPredicateName(instruction, &length);
return (name != null) ? new ReadOnlySpan<byte>(name, length).AsString() : string.Empty;
}

public static LLVMMetadataRef[] DICompositeType_getElements(LLVMMetadataRef type)
{
LLVMMetadataRef* buffer = null;
Expand Down Expand Up @@ -122,6 +129,33 @@ public static string DIVariable_getName(LLVMMetadataRef variable)
return new ReadOnlySpan<byte>(name, length).AsString();
}

public static string Instruction_getOpcodeName(LLVMValueRef instruction)
{
int length = 0;
var name = Instruction_getOpcodeName(instruction, &length);
return (name != null) ? new ReadOnlySpan<byte>(name, length).AsString() : string.Empty;
}

public static string Mangler_getNameWithPrefix(LLVMValueRef globalValue)
{
int length = 0;
var name = Mangler_getNameWithPrefix(globalValue, &length);

if (name == null)
{
return string.Empty;
}

try
{
return new ReadOnlySpan<byte>(name, length).AsString();
}
finally
{
Free(name);
}
}

public static string MDString_getString(LLVMMetadataRef mdstring)
{
int length = 0;
Expand Down
2 changes: 1 addition & 1 deletion 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 = 22;
public const int MajorVersion = 23;
public const int MinorVersion = 1;

static LLVM()
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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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/LLVMOpaqueBasicBlock.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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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/LLVMOpaqueBinary.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-22.1.8/llvm/include/llvm-c
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-23.1.5/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