diff --git a/Directory.Build.props b/Directory.Build.props index 6a1a5dfc..4b1faa77 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -42,7 +42,7 @@ true $(BaseArtifactsPath)pkg/$(Configuration)/ LLVMSharp - 12.0.0 + 13.0.0 beta2 pr diff --git a/Directory.Build.targets b/Directory.Build.targets index bb37cd29..13cf86bf 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -28,7 +28,7 @@ - + diff --git a/LLVMSharp.sln b/LLVMSharp.sln index e98c25a0..1791bb5e 100644 --- a/LLVMSharp.sln +++ b/LLVMSharp.sln @@ -59,14 +59,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM", "libLLVM", "{568A packages\libLLVM\libLLVM\runtime.json = packages\libLLVM\libLLVM\runtime.json EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.11-x64", "libLLVM.runtime.freebsd.11-x64", "{7B8F6AD5-F16F-4605-BD50-6C4DAD69C792}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.12-x64", "libLLVM.runtime.freebsd.12-x64", "{7B8F6AD5-F16F-4605-BD50-6C4DAD69C792}" ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.freebsd.11-x64\libLLVM.runtime.freebsd.11-x64.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.11-x64\libLLVM.runtime.freebsd.11-x64.nuspec + packages\libLLVM\libLLVM.runtime.freebsd.12-x64\libLLVM.runtime.freebsd.12-x64.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.12-x64\libLLVM.runtime.freebsd.12-x64.nuspec EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.11-x86", "libLLVM.runtime.freebsd.11-x86", "{4D4A9DD2-00BB-4D9F-A20B-9926CE70C8C0}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.12-x86", "libLLVM.runtime.freebsd.12-x86", "{4D4A9DD2-00BB-4D9F-A20B-9926CE70C8C0}" ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.freebsd.11-x86\libLLVM.runtime.freebsd.11-x86.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.11-x86\libLLVM.runtime.freebsd.11-x86.nuspec + packages\libLLVM\libLLVM.runtime.freebsd.12-x86\libLLVM.runtime.freebsd.12-x86.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.12-x86\libLLVM.runtime.freebsd.12-x86.nuspec EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.linux-arm", "libLLVM.runtime.linux-arm", "{A7F2EA37-BFBA-4659-969D-E9A4A696E10A}" @@ -123,6 +123,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ .github\workflows\ci.yml = .github\workflows\ci.yml EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.13-x64", "libLLVM.runtime.freebsd.13-x64", "{4F526018-55AE-41FF-BF01-21F60EB95CBC}" + ProjectSection(SolutionItems) = preProject + packages\libLLVM\libLLVM.runtime.freebsd.13-x64\libLLVM.runtime.freebsd.13-x64.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.13-x64\libLLVM.runtime.freebsd.13-x64.nuspec + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.13-x86", "libLLVM.runtime.freebsd.13-x86", "{C1F7DD39-0CE8-4185-A196-1BF4CF597517}" + ProjectSection(SolutionItems) = preProject + packages\libLLVM\libLLVM.runtime.freebsd.13-x86\libLLVM.runtime.freebsd.13-x86.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.13-x86\libLLVM.runtime.freebsd.13-x86.nuspec + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -163,6 +173,8 @@ Global {19DB05E9-59B6-45E9-B47D-62913F7DF9A8} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6} = {62B5C536-C224-4EE1-972F-05F732B5980B} {706334B8-BB91-49A4-BC9C-DFFDF3DCD770} = {E8ADE5A7-4363-43B7-B104-6B0E5510CAF0} + {4F526018-55AE-41FF-BF01-21F60EB95CBC} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} + {C1F7DD39-0CE8-4185-A196-1BF4CF597517} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {75550D8C-A492-4ED3-8387-206830F8B21E} diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec similarity index 75% rename from packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec rename to packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec index e80a0ccb..eb2a9a2b 100644 --- a/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec @@ -1,19 +1,19 @@ - libLLVM.runtime.freebsd.11-x64 - 12.0.0 + libLLVM.runtime.freebsd.12-x64 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true Apache-2.0 WITH LLVM-exception https://github.com/dotnet/llvmsharp - freebsd 11 x64 native library for libLLVM. + freebsd 12 x64 native library for libLLVM. Copyright © LLVM Project - + - + diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.12-x86/libLLVM.runtime.freebsd.12-x86.nuspec similarity index 75% rename from packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec rename to packages/libLLVM/libLLVM.runtime.freebsd.12-x86/libLLVM.runtime.freebsd.12-x86.nuspec index 5ac764ed..d9ad51a1 100644 --- a/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec +++ b/packages/libLLVM/libLLVM.runtime.freebsd.12-x86/libLLVM.runtime.freebsd.12-x86.nuspec @@ -1,19 +1,19 @@ - libLLVM.runtime.freebsd.11-x86 - 12.0.0 + libLLVM.runtime.freebsd.12-x86 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true Apache-2.0 WITH LLVM-exception https://github.com/dotnet/llvmsharp - freebsd 11 x86 native library for libLLVM. + freebsd 12 x86 native library for libLLVM. Copyright © LLVM Project - + - + diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec new file mode 100644 index 00000000..235cb6f4 --- /dev/null +++ b/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec @@ -0,0 +1,19 @@ + + + + libLLVM.runtime.freebsd.13-x64 + 13.0.0 + .NET Foundation and Contributors + .NET Foundation and Contributors + true + Apache-2.0 WITH LLVM-exception + https://github.com/dotnet/llvmsharp + freebsd 13 x64 native library for libLLVM. + Copyright © LLVM Project + + + + + + + diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.13-x86/libLLVM.runtime.freebsd.13-x86.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.13-x86/libLLVM.runtime.freebsd.13-x86.nuspec new file mode 100644 index 00000000..f081cab6 --- /dev/null +++ b/packages/libLLVM/libLLVM.runtime.freebsd.13-x86/libLLVM.runtime.freebsd.13-x86.nuspec @@ -0,0 +1,19 @@ + + + + libLLVM.runtime.freebsd.13-x86 + 13.0.0 + .NET Foundation and Contributors + .NET Foundation and Contributors + true + Apache-2.0 WITH LLVM-exception + https://github.com/dotnet/llvmsharp + freebsd 13 x86 native library for libLLVM. + Copyright © LLVM Project + + + + + + + diff --git a/packages/libLLVM/libLLVM.runtime.linux-arm/libLLVM.runtime.linux-arm.nuspec b/packages/libLLVM/libLLVM.runtime.linux-arm/libLLVM.runtime.linux-arm.nuspec index 3ac3f71e..ef78ac68 100644 --- a/packages/libLLVM/libLLVM.runtime.linux-arm/libLLVM.runtime.linux-arm.nuspec +++ b/packages/libLLVM/libLLVM.runtime.linux-arm/libLLVM.runtime.linux-arm.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.linux-arm - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp linux arm native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.linux-arm64/libLLVM.runtime.linux-arm64.nuspec b/packages/libLLVM/libLLVM.runtime.linux-arm64/libLLVM.runtime.linux-arm64.nuspec index 8fee9b5f..9a0bc68f 100644 --- a/packages/libLLVM/libLLVM.runtime.linux-arm64/libLLVM.runtime.linux-arm64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.linux-arm64/libLLVM.runtime.linux-arm64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.linux-arm64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp linux arm64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec b/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec index 3daf242b..5c7cde40 100644 --- a/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.osx-x64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp osx x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec index 6e10b867..52719cfa 100644 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.ubuntu.18.04-x64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp ubuntu 18.04 x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec index aec91e92..5eb19f36 100644 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.ubuntu.20.04-x64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp ubuntu 20.04 x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.21.04-x64/libLLVM.runtime.ubuntu.21.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.21.04-x64/libLLVM.runtime.ubuntu.21.04-x64.nuspec index 50d2f22a..fcbb4283 100644 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.21.04-x64/libLLVM.runtime.ubuntu.21.04-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.ubuntu.21.04-x64/libLLVM.runtime.ubuntu.21.04-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.ubuntu.21.04-x64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp ubuntu 21.04 x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec b/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec index a11e52d7..c3e362c4 100644 --- a/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.win-arm64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win arm64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec b/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec index 3b9e9376..ac4d9523 100644 --- a/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.win-x64 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec b/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec index b17363ac..1a114e24 100644 --- a/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec +++ b/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.win-x86 - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win x86 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM/libLLVM.nuspec b/packages/libLLVM/libLLVM/libLLVM.nuspec index a8be47b2..be570dae 100644 --- a/packages/libLLVM/libLLVM/libLLVM.nuspec +++ b/packages/libLLVM/libLLVM/libLLVM.nuspec @@ -2,7 +2,7 @@ libLLVM - 12.0.0 + 13.0.0 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp Multi-platform native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM/runtime.json b/packages/libLLVM/libLLVM/runtime.json index 775ec380..ce9e0a5d 100644 --- a/packages/libLLVM/libLLVM/runtime.json +++ b/packages/libLLVM/libLLVM/runtime.json @@ -1,58 +1,68 @@ { "runtimes": { - "freebsd.11-x64": { + "freebsd.12-x64": { "libLLVM": { - "libLLVM.runtime.freebsd.11-x64": "12.0.0" + "libLLVM.runtime.freebsd.12-x64": "13.0.0" } }, - "freebsd.11-x86": { + "freebsd.12-x86": { "libLLVM": { - "libLLVM.runtime.freebsd.11-x86": "12.0.0" + "libLLVM.runtime.freebsd.12-x86": "13.0.0" + } + }, + "freebsd.13-x64": { + "libLLVM": { + "libLLVM.runtime.freebsd.13-x64": "13.0.0" + } + }, + "freebsd.13-x86": { + "libLLVM": { + "libLLVM.runtime.freebsd.13-x86": "13.0.0" } }, "linux-arm": { "libLLVM": { - "libLLVM.runtime.linux-arm": "12.0.0" + "libLLVM.runtime.linux-arm": "13.0.0" } }, "linux-arm64": { "libLLVM": { - "libLLVM.runtime.linux-arm64": "12.0.0" + "libLLVM.runtime.linux-arm64": "13.0.0" } }, "osx-x64": { "libLLVM": { - "libLLVM.runtime.osx-x64": "12.0.0" + "libLLVM.runtime.osx-x64": "13.0.0" } }, "ubuntu.18.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.18.04-x64": "12.0.0" + "libLLVM.runtime.ubuntu.18.04-x64": "13.0.0" } }, "ubuntu.20.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.20.04-x64": "12.0.0" + "libLLVM.runtime.ubuntu.20.04-x64": "13.0.0" } }, "ubuntu.21.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.21.04-x64": "12.0.0" + "libLLVM.runtime.ubuntu.21.04-x64": "13.0.0" } }, "win-arm64": { "libLLVM": { - "libLLVM.runtime.win-arm64": "12.0.0" + "libLLVM.runtime.win-arm64": "13.0.0" } }, "win-x64": { "libLLVM": { - "libLLVM.runtime.win-x64": "12.0.0" + "libLLVM.runtime.win-x64": "13.0.0" } }, "win-x86": { "libLLVM": { - "libLLVM.runtime.win-x86": "12.0.0" + "libLLVM.runtime.win-x86": "13.0.0" } } } diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 9e68ebde..0f4329a0 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -123,8 +123,7 @@ try { $DotNetInstallDirectory = Join-Path -Path $ArtifactsDir -ChildPath "dotnet" Create-Directory -Path $DotNetInstallDirectory - & $DotNetInstallScript -Channel 5.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture - & $DotNetInstallScript -Channel 3.1 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture -Runtime dotnet + & $DotNetInstallScript -Channel 6.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture $env:PATH="$DotNetInstallDirectory;$env:PATH" } diff --git a/scripts/build.sh b/scripts/build.sh index a49523b7..8b789ce0 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -204,8 +204,7 @@ if [[ ! -z "$architecture" ]]; then DotNetInstallDirectory="$ArtifactsDir/dotnet" CreateDirectory "$DotNetInstallDirectory" - . "$DotNetInstallScript" --channel 5.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" - . "$DotNetInstallScript" --channel 3.1 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" --runtime dotnet + . "$DotNetInstallScript" --channel 6.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" PATH="$DotNetInstallDirectory:$PATH:" fi diff --git a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs index 20f9f768..015d994a 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/Internals/NativeTypeNameAttribute.cs b/sources/LLVMSharp.Interop/Internals/NativeTypeNameAttribute.cs index de39d51a..7eb1257a 100644 --- a/sources/LLVMSharp.Interop/Internals/NativeTypeNameAttribute.cs +++ b/sources/LLVMSharp.Interop/Internals/NativeTypeNameAttribute.cs @@ -5,15 +5,21 @@ namespace LLVMSharp.Interop { + /// Defines the type of a member as it was used in the native signature. + [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = true)] [Conditional("DEBUG")] - [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = true)] - internal sealed class NativeTypeNameAttribute : System.Attribute + internal sealed partial class NativeTypeNameAttribute : Attribute { + private readonly string _name; + + /// Initializes a new instance of the class. + /// The name of the type that was used in the native signature. public NativeTypeNameAttribute(string name) { - Name = name; + _name = name; } - public string Name { get; } + /// Gets the name of the type that was used in the native signature. + public string Name => _name; } } diff --git a/sources/LLVMSharp.Interop/LLVM.cs b/sources/LLVMSharp.Interop/LLVM.cs index e60143e2..e0274dd3 100644 --- a/sources/LLVMSharp.Interop/LLVM.cs +++ b/sources/LLVMSharp.Interop/LLVM.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; @@ -86,12 +86,6 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetComdatSelectionKind", ExactSpelling = true)] public static extern void SetComdatSelectionKind([NativeTypeName("LLVMComdatRef")] LLVMComdat* C, LLVMComdatSelectionKind Kind); - public const int LLVMAttributeReturnIndex = 0; - public const int LLVMAttributeFunctionIndex = -1; - - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeCore", ExactSpelling = true)] - public static extern void InitializeCore([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMShutdown", ExactSpelling = true)] public static extern void Shutdown(); @@ -168,6 +162,14 @@ public static unsafe partial class LLVM [return: NativeTypeName("uint64_t")] public static extern ulong GetEnumAttributeValue([NativeTypeName("LLVMAttributeRef")] LLVMOpaqueAttributeRef* A); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreateTypeAttribute", ExactSpelling = true)] + [return: NativeTypeName("LLVMAttributeRef")] + public static extern LLVMOpaqueAttributeRef* CreateTypeAttribute([NativeTypeName("LLVMContextRef")] LLVMOpaqueContext* C, [NativeTypeName("unsigned int")] uint KindID, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* type_ref); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetTypeAttributeValue", ExactSpelling = true)] + [return: NativeTypeName("LLVMTypeRef")] + public static extern LLVMOpaqueType* GetTypeAttributeValue([NativeTypeName("LLVMAttributeRef")] LLVMOpaqueAttributeRef* A); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreateStringAttribute", ExactSpelling = true)] [return: NativeTypeName("LLVMAttributeRef")] public static extern LLVMOpaqueAttributeRef* CreateStringAttribute([NativeTypeName("LLVMContextRef")] LLVMOpaqueContext* C, [NativeTypeName("const char *")] sbyte* K, [NativeTypeName("unsigned int")] uint KLength, [NativeTypeName("const char *")] sbyte* V, [NativeTypeName("unsigned int")] uint VLength); @@ -188,6 +190,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMBool")] public static extern int IsStringAttribute([NativeTypeName("LLVMAttributeRef")] LLVMOpaqueAttributeRef* A); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsTypeAttribute", ExactSpelling = true)] + [return: NativeTypeName("LLVMBool")] + public static extern int IsTypeAttribute([NativeTypeName("LLVMAttributeRef")] LLVMOpaqueAttributeRef* A); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetTypeByName2", ExactSpelling = true)] [return: NativeTypeName("LLVMTypeRef")] public static extern LLVMOpaqueType* GetTypeByName2([NativeTypeName("LLVMContextRef")] LLVMOpaqueContext* C, [NativeTypeName("const char *")] sbyte* Name); @@ -287,7 +293,7 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetInlineAsm", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] - public static extern LLVMOpaqueValue* GetInlineAsm([NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("char *")] sbyte* AsmString, [NativeTypeName("size_t")] UIntPtr AsmStringSize, [NativeTypeName("char *")] sbyte* Constraints, [NativeTypeName("size_t")] UIntPtr ConstraintsSize, [NativeTypeName("LLVMBool")] int HasSideEffects, [NativeTypeName("LLVMBool")] int IsAlignStack, LLVMInlineAsmDialect Dialect); + public static extern LLVMOpaqueValue* GetInlineAsm([NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("char *")] sbyte* AsmString, [NativeTypeName("size_t")] UIntPtr AsmStringSize, [NativeTypeName("char *")] sbyte* Constraints, [NativeTypeName("size_t")] UIntPtr ConstraintsSize, [NativeTypeName("LLVMBool")] int HasSideEffects, [NativeTypeName("LLVMBool")] int IsAlignStack, LLVMInlineAsmDialect Dialect, [NativeTypeName("LLVMBool")] int CanThrow); [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetModuleContext", ExactSpelling = true)] [return: NativeTypeName("LLVMContextRef")] @@ -1670,6 +1676,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("const char *")] public static extern sbyte* IntrinsicCopyOverloadedName([NativeTypeName("unsigned int")] uint ID, [NativeTypeName("LLVMTypeRef *")] LLVMOpaqueType** ParamTypes, [NativeTypeName("size_t")] UIntPtr ParamCount, [NativeTypeName("size_t *")] UIntPtr* NameLength); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIntrinsicCopyOverloadedName2", ExactSpelling = true)] + [return: NativeTypeName("const char *")] + public static extern sbyte* IntrinsicCopyOverloadedName2([NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* Mod, [NativeTypeName("unsigned int")] uint ID, [NativeTypeName("LLVMTypeRef *")] LLVMOpaqueType** ParamTypes, [NativeTypeName("size_t")] UIntPtr ParamCount, [NativeTypeName("size_t *")] UIntPtr* NameLength); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIntrinsicIsOverloaded", ExactSpelling = true)] [return: NativeTypeName("LLVMBool")] public static extern int IntrinsicIsOverloaded([NativeTypeName("unsigned int")] uint ID); @@ -2774,41 +2784,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMBool")] public static extern int IsMultithreaded(); - public const int LLVMMDStringMetadataKind = 0; - public const int LLVMConstantAsMetadataMetadataKind = 1; - public const int LLVMLocalAsMetadataMetadataKind = 2; - public const int LLVMDistinctMDOperandPlaceholderMetadataKind = 3; - public const int LLVMMDTupleMetadataKind = 4; - public const int LLVMDILocationMetadataKind = 5; - public const int LLVMDIExpressionMetadataKind = 6; - public const int LLVMDIGlobalVariableExpressionMetadataKind = 7; - public const int LLVMGenericDINodeMetadataKind = 8; - public const int LLVMDISubrangeMetadataKind = 9; - public const int LLVMDIEnumeratorMetadataKind = 10; - public const int LLVMDIBasicTypeMetadataKind = 11; - public const int LLVMDIDerivedTypeMetadataKind = 12; - public const int LLVMDICompositeTypeMetadataKind = 13; - public const int LLVMDISubroutineTypeMetadataKind = 14; - public const int LLVMDIFileMetadataKind = 15; - public const int LLVMDICompileUnitMetadataKind = 16; - public const int LLVMDISubprogramMetadataKind = 17; - public const int LLVMDILexicalBlockMetadataKind = 18; - public const int LLVMDILexicalBlockFileMetadataKind = 19; - public const int LLVMDINamespaceMetadataKind = 20; - public const int LLVMDIModuleMetadataKind = 21; - public const int LLVMDITemplateTypeParameterMetadataKind = 22; - public const int LLVMDITemplateValueParameterMetadataKind = 23; - public const int LLVMDIGlobalVariableMetadataKind = 24; - public const int LLVMDILocalVariableMetadataKind = 25; - public const int LLVMDILabelMetadataKind = 26; - public const int LLVMDIObjCPropertyMetadataKind = 27; - public const int LLVMDIImportedEntityMetadataKind = 28; - public const int LLVMDIMacroMetadataKind = 29; - public const int LLVMDIMacroFileMetadataKind = 30; - public const int LLVMDICommonBlockMetadataKind = 31; - public const int LLVMDIStringTypeMetadataKind = 32; - public const int LLVMDIGenericSubrangeMetadataKind = 33; - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDebugMetadataVersion", ExactSpelling = true)] [return: NativeTypeName("unsigned int")] public static extern uint DebugMetadataVersion(); @@ -3439,6 +3414,9 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMJITEventListenerRef")] public static extern LLVMOpaqueJITEventListener* CreatePerfJITEventListener(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeCore", ExactSpelling = true)] + public static extern void InitializeCore([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeTransformUtils", ExactSpelling = true)] public static extern void InitializeTransformUtils([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); @@ -3542,7 +3520,23 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLLJITLookup", ExactSpelling = true)] [return: NativeTypeName("LLVMErrorRef")] - public static extern LLVMOpaqueError* OrcLLJITLookup([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J, [NativeTypeName("LLVMOrcJITTargetAddress *")] ulong* Result, [NativeTypeName("const char *")] sbyte* Name); + public static extern LLVMOpaqueError* OrcLLJITLookup([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J, [NativeTypeName("LLVMOrcExecutorAddress *")] ulong* Result, [NativeTypeName("const char *")] sbyte* Name); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLLJITGetObjLinkingLayer", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcObjectLayerRef")] + public static extern LLVMOrcOpaqueObjectLayer* OrcLLJITGetObjLinkingLayer([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLLJITGetObjTransformLayer", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcObjectTransformLayerRef")] + public static extern LLVMOrcOpaqueObjectTransformLayer* OrcLLJITGetObjTransformLayer([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLLJITGetIRTransformLayer", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcIRTransformLayerRef")] + public static extern LLVMOrcOpaqueIRTransformLayer* OrcLLJITGetIRTransformLayer([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLLJITGetDataLayoutStr", ExactSpelling = true)] + [return: NativeTypeName("const char *")] + public static extern sbyte* OrcLLJITGetDataLayoutStr([NativeTypeName("LLVMOrcLLJITRef")] LLVMOrcOpaqueLLJIT* J); [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [return: NativeTypeName("const char *")] @@ -3694,6 +3688,9 @@ public static unsafe partial class LLVM [return: NativeTypeName("unsigned int")] public static extern uint lto_api_version(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + public static extern void lto_set_debug_options([NativeTypeName("const char *const *")] sbyte** options, int number); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void lto_codegen_debug_options([NativeTypeName("lto_code_gen_t")] LLVMOpaqueLTOCodeGenerator* cg, [NativeTypeName("const char *")] sbyte* param1); @@ -3809,8 +3806,8 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void thinlto_codegen_set_cache_size_files([NativeTypeName("thinlto_code_gen_t")] LLVMOpaqueThinLTOCodeGenerator* cg, [NativeTypeName("unsigned int")] uint max_size_files); - [NativeTypeName("#define LTO_API_VERSION 27")] - public const int LTO_API_VERSION = 27; + [NativeTypeName("#define LTO_API_VERSION 28")] + public const int LTO_API_VERSION = 28; [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreateBinary", ExactSpelling = true)] [return: NativeTypeName("LLVMBinaryRef")] @@ -3990,10 +3987,76 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeMaterializationUnit", ExactSpelling = true)] public static extern void OrcDisposeMaterializationUnit([NativeTypeName("LLVMOrcMaterializationUnitRef")] LLVMOrcOpaqueMaterializationUnit* MU); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateCustomMaterializationUnit", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcMaterializationUnitRef")] + public static extern LLVMOrcOpaqueMaterializationUnit* OrcCreateCustomMaterializationUnit([NativeTypeName("const char *")] sbyte* Name, void* Ctx, [NativeTypeName("LLVMOrcCSymbolFlagsMapPairs")] LLVMOrcCSymbolFlagsMapPair* Syms, [NativeTypeName("size_t")] UIntPtr NumSyms, [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] LLVMOrcOpaqueSymbolStringPoolEntry* InitSym, [NativeTypeName("LLVMOrcMaterializationUnitMaterializeFunction")] IntPtr Materialize, [NativeTypeName("LLVMOrcMaterializationUnitDiscardFunction")] IntPtr Discard, [NativeTypeName("LLVMOrcMaterializationUnitDestroyFunction")] IntPtr Destroy); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcAbsoluteSymbols", ExactSpelling = true)] [return: NativeTypeName("LLVMOrcMaterializationUnitRef")] public static extern LLVMOrcOpaqueMaterializationUnit* OrcAbsoluteSymbols([NativeTypeName("LLVMOrcCSymbolMapPairs")] LLVMJITCSymbolMapPair* Syms, [NativeTypeName("size_t")] UIntPtr NumPairs); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcLazyReexports", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcMaterializationUnitRef")] + public static extern LLVMOrcOpaqueMaterializationUnit* OrcLazyReexports([NativeTypeName("LLVMOrcLazyCallThroughManagerRef")] LLVMOrcOpaqueLazyCallThroughManager* LCTM, [NativeTypeName("LLVMOrcIndirectStubsManagerRef")] LLVMOrcOpaqueIndirectStubsManager* ISM, [NativeTypeName("LLVMOrcJITDylibRef")] LLVMOrcOpaqueJITDylib* SourceRef, [NativeTypeName("LLVMOrcCSymbolAliasMapPairs")] LLVMOrcCSymbolAliasMapPair* CallableAliases, [NativeTypeName("size_t")] UIntPtr NumPairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeMaterializationResponsibility", ExactSpelling = true)] + public static extern void OrcDisposeMaterializationResponsibility([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityGetTargetDylib", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcJITDylibRef")] + public static extern LLVMOrcOpaqueJITDylib* OrcMaterializationResponsibilityGetTargetDylib([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityGetExecutionSession", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcExecutionSessionRef")] + public static extern LLVMOrcOpaqueExecutionSession* OrcMaterializationResponsibilityGetExecutionSession([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityGetSymbols", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcCSymbolFlagsMapPairs")] + public static extern LLVMOrcCSymbolFlagsMapPair* OrcMaterializationResponsibilityGetSymbols([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("size_t *")] UIntPtr* NumPairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeCSymbolFlagsMap", ExactSpelling = true)] + public static extern void OrcDisposeCSymbolFlagsMap([NativeTypeName("LLVMOrcCSymbolFlagsMapPairs")] LLVMOrcCSymbolFlagsMapPair* Pairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityGetInitializerSymbol", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] + public static extern LLVMOrcOpaqueSymbolStringPoolEntry* OrcMaterializationResponsibilityGetInitializerSymbol([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityGetRequestedSymbols", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcSymbolStringPoolEntryRef *")] + public static extern LLVMOrcOpaqueSymbolStringPoolEntry** OrcMaterializationResponsibilityGetRequestedSymbols([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("size_t *")] UIntPtr* NumSymbols); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeSymbols", ExactSpelling = true)] + public static extern void OrcDisposeSymbols([NativeTypeName("LLVMOrcSymbolStringPoolEntryRef *")] LLVMOrcOpaqueSymbolStringPoolEntry** Symbols); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityNotifyResolved", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcMaterializationResponsibilityNotifyResolved([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcCSymbolMapPairs")] LLVMJITCSymbolMapPair* Symbols, [NativeTypeName("size_t")] UIntPtr NumPairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityNotifyEmitted", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcMaterializationResponsibilityNotifyEmitted([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityDefineMaterializing", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcMaterializationResponsibilityDefineMaterializing([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcCSymbolFlagsMapPairs")] LLVMOrcCSymbolFlagsMapPair* Pairs, [NativeTypeName("size_t")] UIntPtr NumPairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityFailMaterialization", ExactSpelling = true)] + public static extern void OrcMaterializationResponsibilityFailMaterialization([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityReplace", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcMaterializationResponsibilityReplace([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcMaterializationUnitRef")] LLVMOrcOpaqueMaterializationUnit* MU); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityDelegate", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcMaterializationResponsibilityDelegate([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef *")] LLVMOrcOpaqueSymbolStringPoolEntry** Symbols, [NativeTypeName("size_t")] UIntPtr NumSymbols, [NativeTypeName("LLVMOrcMaterializationResponsibilityRef *")] LLVMOrcOpaqueMaterializationResponsibility** Result); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityAddDependencies", ExactSpelling = true)] + public static extern void OrcMaterializationResponsibilityAddDependencies([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] LLVMOrcOpaqueSymbolStringPoolEntry* Name, [NativeTypeName("LLVMOrcCDependenceMapPairs")] LLVMOrcCDependenceMapPair* Dependencies, [NativeTypeName("size_t")] UIntPtr NumPairs); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcMaterializationResponsibilityAddDependenciesForAll", ExactSpelling = true)] + public static extern void OrcMaterializationResponsibilityAddDependenciesForAll([NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcCDependenceMapPairs")] LLVMOrcCDependenceMapPair* Dependencies, [NativeTypeName("size_t")] UIntPtr NumPairs); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcExecutionSessionCreateBareJITDylib", ExactSpelling = true)] [return: NativeTypeName("LLVMOrcJITDylibRef")] public static extern LLVMOrcOpaqueJITDylib* OrcExecutionSessionCreateBareJITDylib([NativeTypeName("LLVMOrcExecutionSessionRef")] LLVMOrcOpaqueExecutionSession* ES, [NativeTypeName("const char *")] sbyte* Name); @@ -4051,6 +4114,10 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeThreadSafeModule", ExactSpelling = true)] public static extern void OrcDisposeThreadSafeModule([NativeTypeName("LLVMOrcThreadSafeModuleRef")] LLVMOrcOpaqueThreadSafeModule* TSM); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcThreadSafeModuleWithModuleDo", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcThreadSafeModuleWithModuleDo([NativeTypeName("LLVMOrcThreadSafeModuleRef")] LLVMOrcOpaqueThreadSafeModule* TSM, [NativeTypeName("LLVMOrcGenericIRModuleOperationFunction")] IntPtr F, void* Ctx); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcJITTargetMachineBuilderDetectHost", ExactSpelling = true)] [return: NativeTypeName("LLVMErrorRef")] public static extern LLVMOpaqueError* OrcJITTargetMachineBuilderDetectHost([NativeTypeName("LLVMOrcJITTargetMachineBuilderRef *")] LLVMOrcOpaqueJITTargetMachineBuilder** Result); @@ -4062,9 +4129,61 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeJITTargetMachineBuilder", ExactSpelling = true)] public static extern void OrcDisposeJITTargetMachineBuilder([NativeTypeName("LLVMOrcJITTargetMachineBuilderRef")] LLVMOrcOpaqueJITTargetMachineBuilder* JTMB); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcJITTargetMachineBuilderGetTargetTriple", ExactSpelling = true)] + [return: NativeTypeName("char *")] + public static extern sbyte* OrcJITTargetMachineBuilderGetTargetTriple([NativeTypeName("LLVMOrcJITTargetMachineBuilderRef")] LLVMOrcOpaqueJITTargetMachineBuilder* JTMB); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcJITTargetMachineBuilderSetTargetTriple", ExactSpelling = true)] + public static extern void OrcJITTargetMachineBuilderSetTargetTriple([NativeTypeName("LLVMOrcJITTargetMachineBuilderRef")] LLVMOrcOpaqueJITTargetMachineBuilder* JTMB, [NativeTypeName("const char *")] sbyte* TargetTriple); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcObjectLayerAddObjectFile", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcObjectLayerAddObjectFile([NativeTypeName("LLVMOrcObjectLayerRef")] LLVMOrcOpaqueObjectLayer* ObjLayer, [NativeTypeName("LLVMOrcJITDylibRef")] LLVMOrcOpaqueJITDylib* JD, [NativeTypeName("LLVMMemoryBufferRef")] LLVMOpaqueMemoryBuffer* ObjBuffer); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcObjectLayerAddObjectFileWithRT", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcObjectLayerAddObjectFileWithRT([NativeTypeName("LLVMOrcObjectLayerRef")] LLVMOrcOpaqueObjectLayer* ObjLayer, [NativeTypeName("LLVMOrcResourceTrackerRef")] LLVMOrcOpaqueResourceTracker* RT, [NativeTypeName("LLVMMemoryBufferRef")] LLVMOpaqueMemoryBuffer* ObjBuffer); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcObjectLayerEmit", ExactSpelling = true)] + public static extern void OrcObjectLayerEmit([NativeTypeName("LLVMOrcObjectLayerRef")] LLVMOrcOpaqueObjectLayer* ObjLayer, [NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* R, [NativeTypeName("LLVMMemoryBufferRef")] LLVMOpaqueMemoryBuffer* ObjBuffer); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeObjectLayer", ExactSpelling = true)] public static extern void OrcDisposeObjectLayer([NativeTypeName("LLVMOrcObjectLayerRef")] LLVMOrcOpaqueObjectLayer* ObjLayer); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcIRTransformLayerEmit", ExactSpelling = true)] + public static extern void OrcIRTransformLayerEmit([NativeTypeName("LLVMOrcIRTransformLayerRef")] LLVMOrcOpaqueIRTransformLayer* IRTransformLayer, [NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR, [NativeTypeName("LLVMOrcThreadSafeModuleRef")] LLVMOrcOpaqueThreadSafeModule* TSM); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcIRTransformLayerSetTransform", ExactSpelling = true)] + public static extern void OrcIRTransformLayerSetTransform([NativeTypeName("LLVMOrcIRTransformLayerRef")] LLVMOrcOpaqueIRTransformLayer* IRTransformLayer, [NativeTypeName("LLVMOrcIRTransformLayerTransformFunction")] IntPtr TransformFunction, void* Ctx); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcObjectTransformLayerSetTransform", ExactSpelling = true)] + public static extern void OrcObjectTransformLayerSetTransform([NativeTypeName("LLVMOrcObjectTransformLayerRef")] LLVMOrcOpaqueObjectTransformLayer* ObjTransformLayer, [NativeTypeName("LLVMOrcObjectTransformLayerTransformFunction")] IntPtr TransformFunction, void* Ctx); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateLocalIndirectStubsManager", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcIndirectStubsManagerRef")] + public static extern LLVMOrcOpaqueIndirectStubsManager* OrcCreateLocalIndirectStubsManager([NativeTypeName("const char *")] sbyte* TargetTriple); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeIndirectStubsManager", ExactSpelling = true)] + public static extern void OrcDisposeIndirectStubsManager([NativeTypeName("LLVMOrcIndirectStubsManagerRef")] LLVMOrcOpaqueIndirectStubsManager* ISM); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateLocalLazyCallThroughManager", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcCreateLocalLazyCallThroughManager([NativeTypeName("const char *")] sbyte* TargetTriple, [NativeTypeName("LLVMOrcExecutionSessionRef")] LLVMOrcOpaqueExecutionSession* ES, [NativeTypeName("LLVMOrcJITTargetAddress")] ulong ErrorHandlerAddr, [NativeTypeName("LLVMOrcLazyCallThroughManagerRef *")] LLVMOrcOpaqueLazyCallThroughManager** LCTM); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeLazyCallThroughManager", ExactSpelling = true)] + public static extern void OrcDisposeLazyCallThroughManager([NativeTypeName("LLVMOrcLazyCallThroughManagerRef")] LLVMOrcOpaqueLazyCallThroughManager* LCTM); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateDumpObjects", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcDumpObjectsRef")] + public static extern LLVMOrcOpaqueDumpObjects* OrcCreateDumpObjects([NativeTypeName("const char *")] sbyte* DumpDir, [NativeTypeName("const char *")] sbyte* IdentifierOverride); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDisposeDumpObjects", ExactSpelling = true)] + public static extern void OrcDisposeDumpObjects([NativeTypeName("LLVMOrcDumpObjectsRef")] LLVMOrcOpaqueDumpObjects* DumpObjects); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcDumpObjects_CallOperator", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* OrcDumpObjects_CallOperator([NativeTypeName("LLVMOrcDumpObjectsRef")] LLVMOrcOpaqueDumpObjects* DumpObjects, [NativeTypeName("LLVMMemoryBufferRef *")] LLVMOpaqueMemoryBuffer** ObjBuffer); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager", ExactSpelling = true)] [return: NativeTypeName("LLVMOrcObjectLayerRef")] public static extern LLVMOrcOpaqueObjectLayer* OrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager([NativeTypeName("LLVMOrcExecutionSessionRef")] LLVMOrcOpaqueExecutionSession* ES); @@ -4586,6 +4705,50 @@ public static int InitializeNativeDisassembler() [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddStripSymbolsPass", ExactSpelling = true)] public static extern void AddStripSymbolsPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMRunPasses", ExactSpelling = true)] + [return: NativeTypeName("LLVMErrorRef")] + public static extern LLVMOpaqueError* RunPasses([NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* M, [NativeTypeName("const char *")] sbyte* Passes, [NativeTypeName("LLVMTargetMachineRef")] LLVMOpaqueTargetMachine* TM, [NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreatePassBuilderOptions", ExactSpelling = true)] + [return: NativeTypeName("LLVMPassBuilderOptionsRef")] + public static extern LLVMOpaquePassBuilderOptions* CreatePassBuilderOptions(); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetVerifyEach", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetVerifyEach([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int VerifyEach); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetDebugLogging", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetDebugLogging([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int DebugLogging); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetLoopInterleaving", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetLoopInterleaving([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int LoopInterleaving); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetLoopVectorization", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetLoopVectorization([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int LoopVectorization); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetSLPVectorization", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetSLPVectorization([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int SLPVectorization); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetLoopUnrolling", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetLoopUnrolling([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int LoopUnrolling); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetForgetAllSCEVInLoopUnroll([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int ForgetAllSCEVInLoopUnroll); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetLicmMssaOptCap", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetLicmMssaOptCap([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("unsigned int")] uint LicmMssaOptCap); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetLicmMssaNoAccForPromotionCap([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("unsigned int")] uint LicmMssaNoAccForPromotionCap); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetCallGraphProfile", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetCallGraphProfile([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int CallGraphProfile); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassBuilderOptionsSetMergeFunctions", ExactSpelling = true)] + public static extern void PassBuilderOptionsSetMergeFunctions([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options, [NativeTypeName("LLVMBool")] int MergeFunctions); + + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDisposePassBuilderOptions", ExactSpelling = true)] + public static extern void DisposePassBuilderOptions([NativeTypeName("LLVMPassBuilderOptionsRef")] LLVMOpaquePassBuilderOptions* Options); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMPassManagerBuilderCreate", ExactSpelling = true)] [return: NativeTypeName("LLVMPassManagerBuilderRef")] public static extern LLVMOpaquePassManagerBuilder* PassManagerBuilderCreate(); diff --git a/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs b/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs index 471fc41c..443f3cc1 100644 --- a/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs +++ b/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs b/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs index 8cad7f4c..e45bb7f7 100644 --- a/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs +++ b/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMAttributeIndex.cs b/sources/LLVMSharp.Interop/LLVMAttributeIndex.cs similarity index 95% rename from sources/LLVMSharp.Interop/Extensions/LLVMAttributeIndex.cs rename to sources/LLVMSharp.Interop/LLVMAttributeIndex.cs index 0078e881..61019c2d 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMAttributeIndex.cs +++ b/sources/LLVMSharp.Interop/LLVMAttributeIndex.cs @@ -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-10.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMBinaryType.cs b/sources/LLVMSharp.Interop/LLVMBinaryType.cs index b818fc1f..472efc2e 100644 --- a/sources/LLVMSharp.Interop/LLVMBinaryType.cs +++ b/sources/LLVMSharp.Interop/LLVMBinaryType.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMByteOrdering.cs b/sources/LLVMSharp.Interop/LLVMByteOrdering.cs index 3203c78e..6df8a99b 100644 --- a/sources/LLVMSharp.Interop/LLVMByteOrdering.cs +++ b/sources/LLVMSharp.Interop/LLVMByteOrdering.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMCallConv.cs b/sources/LLVMSharp.Interop/LLVMCallConv.cs index a652e311..ee57ac58 100644 --- a/sources/LLVMSharp.Interop/LLVMCallConv.cs +++ b/sources/LLVMSharp.Interop/LLVMCallConv.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs b/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs index e5dbb3c1..1819180f 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs b/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs index 0f4e494c..3ae412d6 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMCodeModel.cs b/sources/LLVMSharp.Interop/LLVMCodeModel.cs index da45dd3a..4ecc7dec 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeModel.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeModel.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMComdat.cs b/sources/LLVMSharp.Interop/LLVMComdat.cs index c785426d..bec08287 100644 --- a/sources/LLVMSharp.Interop/LLVMComdat.cs +++ b/sources/LLVMSharp.Interop/LLVMComdat.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs b/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs index 1a1329bc..0cc9d957 100644 --- a/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs +++ b/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 @@ -10,7 +10,7 @@ public enum LLVMComdatSelectionKind LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, - LLVMNoDuplicatesComdatSelectionKind, + LLVMNoDeduplicateComdatSelectionKind, LLVMSameSizeComdatSelectionKind, } } diff --git a/sources/LLVMSharp.Interop/LLVMDIFlags.cs b/sources/LLVMSharp.Interop/LLVMDIFlags.cs index 5e8c710a..1e58e6b7 100644 --- a/sources/LLVMSharp.Interop/LLVMDIFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMDIFlags.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs b/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs index 54892172..011f005e 100644 --- a/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs +++ b/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs b/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs index 04861069..a71a8926 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs b/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs index 3a5e2750..54d82433 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs b/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs index e9eca6c6..0fb19f58 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMDiagnosticHandler.cs b/sources/LLVMSharp.Interop/LLVMDiagnosticHandler.cs index c799cccd..721eaa44 100644 --- a/sources/LLVMSharp.Interop/LLVMDiagnosticHandler.cs +++ b/sources/LLVMSharp.Interop/LLVMDiagnosticHandler.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs b/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs index 1ec02992..bf0911c2 100644 --- a/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs +++ b/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMFatalErrorHandler.cs b/sources/LLVMSharp.Interop/LLVMFatalErrorHandler.cs index 13fcd6dc..e6060bae 100644 --- a/sources/LLVMSharp.Interop/LLVMFatalErrorHandler.cs +++ b/sources/LLVMSharp.Interop/LLVMFatalErrorHandler.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs b/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs index 9d977901..57191510 100644 --- a/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs +++ b/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMIntPredicate.cs b/sources/LLVMSharp.Interop/LLVMIntPredicate.cs index 92c719e1..7f01c53c 100644 --- a/sources/LLVMSharp.Interop/LLVMIntPredicate.cs +++ b/sources/LLVMSharp.Interop/LLVMIntPredicate.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMJITCSymbolMapPair.cs b/sources/LLVMSharp.Interop/LLVMJITCSymbolMapPair.cs index 3aaefc27..d106b17f 100644 --- a/sources/LLVMSharp.Interop/LLVMJITCSymbolMapPair.cs +++ b/sources/LLVMSharp.Interop/LLVMJITCSymbolMapPair.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs b/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs index c0c2c547..8e0fdd34 100644 --- a/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs +++ b/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs @@ -1,13 +1,13 @@ // 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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 { public partial struct LLVMJITEvaluatedSymbol { - [NativeTypeName("LLVMOrcJITTargetAddress")] + [NativeTypeName("LLVMOrcExecutorAddress")] public ulong Address; public LLVMJITSymbolFlags Flags; diff --git a/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs b/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs index 365a5c9c..33417ede 100644 --- a/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs b/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs index a438f3d6..38e3ffdc 100644 --- a/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs @@ -1,16 +1,19 @@ // 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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; namespace LLVMSharp.Interop { + [NativeTypeName("int")] [Flags] public enum LLVMJITSymbolGenericFlags : uint { LLVMJITSymbolGenericFlagsExported = 1U << 0, LLVMJITSymbolGenericFlagsWeak = 1U << 1, + LLVMJITSymbolGenericFlagsCallable = 1U << 2, + LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly = 1U << 3, } } diff --git a/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs b/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs index 1a07d17c..4a08c8af 100644 --- a/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs +++ b/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMLinkage.cs b/sources/LLVMSharp.Interop/LLVMLinkage.cs index 5fdcbb96..51baef2d 100644 --- a/sources/LLVMSharp.Interop/LLVMLinkage.cs +++ b/sources/LLVMSharp.Interop/LLVMLinkage.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMLinkerMode.cs b/sources/LLVMSharp.Interop/LLVMLinkerMode.cs index 370ba337..098e1c1a 100644 --- a/sources/LLVMSharp.Interop/LLVMLinkerMode.cs +++ b/sources/LLVMSharp.Interop/LLVMLinkerMode.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs b/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs index 77357d4d..18829963 100644 --- a/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs +++ b/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs b/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs index 96ca2251..13f2e652 100644 --- a/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs b/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs index 5a2bbdf5..78109553 100644 --- a/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMMemoryManagerDestroyCallback.cs b/sources/LLVMSharp.Interop/LLVMMemoryManagerDestroyCallback.cs index 48462548..02c0edce 100644 --- a/sources/LLVMSharp.Interop/LLVMMemoryManagerDestroyCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMMemoryManagerDestroyCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs b/sources/LLVMSharp.Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs index bf5f30ac..a2733669 100644 --- a/sources/LLVMSharp.Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMMetadataKind.cs b/sources/LLVMSharp.Interop/LLVMMetadataKind.cs similarity index 92% rename from sources/LLVMSharp.Interop/Extensions/LLVMMetadataKind.cs rename to sources/LLVMSharp.Interop/LLVMMetadataKind.cs index 82dc5f3b..0fd664df 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMMetadataKind.cs +++ b/sources/LLVMSharp.Interop/LLVMMetadataKind.cs @@ -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-10.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 @@ -39,5 +39,8 @@ public enum LLVMMetadataKind LLVMDIMacroMetadataKind, LLVMDIMacroFileMetadataKind, LLVMDICommonBlockMetadataKind, + LLVMDIStringTypeMetadataKind, + LLVMDIGenericSubrangeMetadataKind, + LLVMDIArgListMetadataKind, } } diff --git a/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs b/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs index ef4d49d7..68519609 100644 --- a/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs +++ b/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpInfo1.cs b/sources/LLVMSharp.Interop/LLVMOpInfo1.cs index b74e8c8d..908ec6a0 100644 --- a/sources/LLVMSharp.Interop/LLVMOpInfo1.cs +++ b/sources/LLVMSharp.Interop/LLVMOpInfo1.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpInfoCallback.cs b/sources/LLVMSharp.Interop/LLVMOpInfoCallback.cs index e74c1583..6ee13489 100644 --- a/sources/LLVMSharp.Interop/LLVMOpInfoCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMOpInfoCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs b/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs index 47802e9c..09ee7c4b 100644 --- a/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs +++ b/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueAttributeRef.cs b/sources/LLVMSharp.Interop/LLVMOpaqueAttributeRef.cs index 725091ed..8561bba2 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueAttributeRef.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueAttributeRef.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueBasicBlock.cs b/sources/LLVMSharp.Interop/LLVMOpaqueBasicBlock.cs index d6b82dde..7c1e7824 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueBasicBlock.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueBasicBlock.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueBinary.cs b/sources/LLVMSharp.Interop/LLVMOpaqueBinary.cs index a6d02265..7940e86b 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueBinary.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueBinary.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueBuilder.cs b/sources/LLVMSharp.Interop/LLVMOpaqueBuilder.cs index 19769d88..faf362e8 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueBuilder.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueBuilder.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueContext.cs b/sources/LLVMSharp.Interop/LLVMOpaqueContext.cs index f1cb4a5a..47850c6c 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueContext.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueContext.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueDIBuilder.cs b/sources/LLVMSharp.Interop/LLVMOpaqueDIBuilder.cs index 997ecf72..32f3c7ed 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueDIBuilder.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueDIBuilder.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueDiagnosticInfo.cs b/sources/LLVMSharp.Interop/LLVMOpaqueDiagnosticInfo.cs index 22c71045..4afcd32e 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueDiagnosticInfo.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueDiagnosticInfo.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueError.cs b/sources/LLVMSharp.Interop/LLVMOpaqueError.cs index 940f7c93..12da1fb6 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueError.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueError.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueExecutionEngine.cs b/sources/LLVMSharp.Interop/LLVMOpaqueExecutionEngine.cs index 9f2529c1..e2b5942f 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueExecutionEngine.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueExecutionEngine.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueGenericValue.cs b/sources/LLVMSharp.Interop/LLVMOpaqueGenericValue.cs index b760faa8..d55b5c7c 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueGenericValue.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueGenericValue.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueJITEventListener.cs b/sources/LLVMSharp.Interop/LLVMOpaqueJITEventListener.cs index 1c9c5646..f72fde60 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueJITEventListener.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueJITEventListener.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueLTOCodeGenerator.cs b/sources/LLVMSharp.Interop/LLVMOpaqueLTOCodeGenerator.cs index 24b0ee58..a14518c7 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueLTOCodeGenerator.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueLTOCodeGenerator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueLTOInput.cs b/sources/LLVMSharp.Interop/LLVMOpaqueLTOInput.cs index c5e713c4..3916457a 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueLTOInput.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueLTOInput.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueLTOModule.cs b/sources/LLVMSharp.Interop/LLVMOpaqueLTOModule.cs index 5a6dd727..1e046876 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueLTOModule.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueLTOModule.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueMCJITMemoryManager.cs b/sources/LLVMSharp.Interop/LLVMOpaqueMCJITMemoryManager.cs index d700cb38..8d8e76da 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueMCJITMemoryManager.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueMCJITMemoryManager.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueMemoryBuffer.cs b/sources/LLVMSharp.Interop/LLVMOpaqueMemoryBuffer.cs index f8e808ff..4a256056 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueMemoryBuffer.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueMemoryBuffer.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueMetadata.cs b/sources/LLVMSharp.Interop/LLVMOpaqueMetadata.cs index 465f28fe..acb2e3d9 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueMetadata.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueMetadata.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueModule.cs b/sources/LLVMSharp.Interop/LLVMOpaqueModule.cs index 9698e9ee..a8192681 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueModule.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueModule.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueModuleFlagEntry.cs b/sources/LLVMSharp.Interop/LLVMOpaqueModuleFlagEntry.cs index bd553417..1c5ef9e8 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueModuleFlagEntry.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueModuleFlagEntry.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueModuleProvider.cs b/sources/LLVMSharp.Interop/LLVMOpaqueModuleProvider.cs index d09e975f..8829320e 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueModuleProvider.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueModuleProvider.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueNamedMDNode.cs b/sources/LLVMSharp.Interop/LLVMOpaqueNamedMDNode.cs index cf85255a..1f1b0462 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueNamedMDNode.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueNamedMDNode.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueObjectFile.cs b/sources/LLVMSharp.Interop/LLVMOpaqueObjectFile.cs index cea2040f..6c6a51f2 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueObjectFile.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueObjectFile.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaquePassBuilderOptions.cs b/sources/LLVMSharp.Interop/LLVMOpaquePassBuilderOptions.cs new file mode 100644 index 00000000..b550e385 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOpaquePassBuilderOptions.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOpaquePassBuilderOptions + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOpaquePassManager.cs b/sources/LLVMSharp.Interop/LLVMOpaquePassManager.cs index 9c8dbc22..5f2527c3 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaquePassManager.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaquePassManager.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaquePassManagerBuilder.cs b/sources/LLVMSharp.Interop/LLVMOpaquePassManagerBuilder.cs index 61e2d842..1c1aeebf 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaquePassManagerBuilder.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaquePassManagerBuilder.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaquePassRegistry.cs b/sources/LLVMSharp.Interop/LLVMOpaquePassRegistry.cs index c2f1beb0..90bfe5a7 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaquePassRegistry.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaquePassRegistry.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueRelocationIterator.cs b/sources/LLVMSharp.Interop/LLVMOpaqueRelocationIterator.cs index f23551cd..81824e85 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueRelocationIterator.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueRelocationIterator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueSectionIterator.cs b/sources/LLVMSharp.Interop/LLVMOpaqueSectionIterator.cs index 5a245e58..a329e202 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueSectionIterator.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueSectionIterator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueSymbolIterator.cs b/sources/LLVMSharp.Interop/LLVMOpaqueSymbolIterator.cs index f1d4308e..d861ab91 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueSymbolIterator.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueSymbolIterator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueTargetData.cs b/sources/LLVMSharp.Interop/LLVMOpaqueTargetData.cs index 9e19b404..9efc178b 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueTargetData.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueTargetData.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueTargetLibraryInfotData.cs b/sources/LLVMSharp.Interop/LLVMOpaqueTargetLibraryInfotData.cs index f5b49d05..7e18a72c 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueTargetLibraryInfotData.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueTargetLibraryInfotData.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueTargetMachine.cs b/sources/LLVMSharp.Interop/LLVMOpaqueTargetMachine.cs index 87557715..1efa016c 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueTargetMachine.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueTargetMachine.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueThinLTOCodeGenerator.cs b/sources/LLVMSharp.Interop/LLVMOpaqueThinLTOCodeGenerator.cs index daeeef37..40a2040e 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueThinLTOCodeGenerator.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueThinLTOCodeGenerator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueType.cs b/sources/LLVMSharp.Interop/LLVMOpaqueType.cs index 7df88f5b..cf374648 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueType.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueType.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueUse.cs b/sources/LLVMSharp.Interop/LLVMOpaqueUse.cs index ccc7f011..fd50837a 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueUse.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueUse.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueValue.cs b/sources/LLVMSharp.Interop/LLVMOpaqueValue.cs index 282afb32..89f70e7e 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueValue.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueValue.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpaqueValueMetadataEntry.cs b/sources/LLVMSharp.Interop/LLVMOpaqueValueMetadataEntry.cs index 4ef07e23..84b44072 100644 --- a/sources/LLVMSharp.Interop/LLVMOpaqueValueMetadataEntry.cs +++ b/sources/LLVMSharp.Interop/LLVMOpaqueValueMetadataEntry.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOpcode.cs b/sources/LLVMSharp.Interop/LLVMOpcode.cs index 2bcd3e4c..2716c889 100644 --- a/sources/LLVMSharp.Interop/LLVMOpcode.cs +++ b/sources/LLVMSharp.Interop/LLVMOpcode.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs index c5a69651..4006c32a 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs new file mode 100644 index 00000000..8e173d86 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs @@ -0,0 +1,15 @@ +// 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-13.0.0/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 +{ + public unsafe partial struct LLVMOrcCDependenceMapPair + { + [NativeTypeName("LLVMOrcJITDylibRef")] + public LLVMOrcOpaqueJITDylib* JD; + + public LLVMOrcCSymbolsList Names; + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs b/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs index 6aad5ef9..62cb8b58 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs new file mode 100644 index 00000000..41647611 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs @@ -0,0 +1,15 @@ +// 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-13.0.0/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 +{ + public unsafe partial struct LLVMOrcCSymbolAliasMapEntry + { + [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] + public LLVMOrcOpaqueSymbolStringPoolEntry* Name; + + public LLVMJITSymbolFlags Flags; + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs new file mode 100644 index 00000000..96dafd79 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs @@ -0,0 +1,15 @@ +// 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-13.0.0/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 +{ + public unsafe partial struct LLVMOrcCSymbolAliasMapPair + { + [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] + public LLVMOrcOpaqueSymbolStringPoolEntry* Name; + + public LLVMOrcCSymbolAliasMapEntry Entry; + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs new file mode 100644 index 00000000..63e79d3e --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs @@ -0,0 +1,15 @@ +// 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-13.0.0/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 +{ + public unsafe partial struct LLVMOrcCSymbolFlagsMapPair + { + [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] + public LLVMOrcOpaqueSymbolStringPoolEntry* Name; + + public LLVMJITSymbolFlags Flags; + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs new file mode 100644 index 00000000..2016e794 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs @@ -0,0 +1,18 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + public unsafe partial struct LLVMOrcCSymbolsList + { + [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef *")] + public LLVMOrcOpaqueSymbolStringPoolEntry** Symbols; + + [NativeTypeName("size_t")] + public UIntPtr Length; + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcErrorReporterFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcErrorReporterFunction.cs index 1e48e956..11ef91c6 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcErrorReporterFunction.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcErrorReporterFunction.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOrcGenericIRModuleOperationFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcGenericIRModuleOperationFunction.cs new file mode 100644 index 00000000..4b6fa679 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcGenericIRModuleOperationFunction.cs @@ -0,0 +1,13 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [return: NativeTypeName("LLVMErrorRef")] + public unsafe delegate LLVMOpaqueError* LLVMOrcGenericIRModuleOperationFunction(void* Ctx, [NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* M); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcIRTransformLayerTransformFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcIRTransformLayerTransformFunction.cs new file mode 100644 index 00000000..0efb4a7e --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcIRTransformLayerTransformFunction.cs @@ -0,0 +1,13 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [return: NativeTypeName("LLVMErrorRef")] + public unsafe delegate LLVMOpaqueError* LLVMOrcIRTransformLayerTransformFunction(void* Ctx, [NativeTypeName("LLVMOrcThreadSafeModuleRef *")] LLVMOrcOpaqueThreadSafeModule** ModInOut, [NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs b/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs index 906dd5b5..eaf13422 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs index 5eb8f5e9..e9e4244f 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs b/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs index d93ecf39..5fc9e770 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDestroyFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDestroyFunction.cs new file mode 100644 index 00000000..0de535c8 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDestroyFunction.cs @@ -0,0 +1,12 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void LLVMOrcMaterializationUnitDestroyFunction(void* Ctx); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDiscardFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDiscardFunction.cs new file mode 100644 index 00000000..61697e18 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitDiscardFunction.cs @@ -0,0 +1,12 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void LLVMOrcMaterializationUnitDiscardFunction(void* Ctx, [NativeTypeName("LLVMOrcJITDylibRef")] LLVMOrcOpaqueJITDylib* JD, [NativeTypeName("LLVMOrcSymbolStringPoolEntryRef")] LLVMOrcOpaqueSymbolStringPoolEntry* Symbol); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitMaterializeFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitMaterializeFunction.cs new file mode 100644 index 00000000..4fe5228c --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcMaterializationUnitMaterializeFunction.cs @@ -0,0 +1,12 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void LLVMOrcMaterializationUnitMaterializeFunction(void* Ctx, [NativeTypeName("LLVMOrcMaterializationResponsibilityRef")] LLVMOrcOpaqueMaterializationResponsibility* MR); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcObjectTransformLayerTransformFunction.cs b/sources/LLVMSharp.Interop/LLVMOrcObjectTransformLayerTransformFunction.cs new file mode 100644 index 00000000..d85e88d4 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcObjectTransformLayerTransformFunction.cs @@ -0,0 +1,13 @@ +// 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-13.0.0/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; + +namespace LLVMSharp.Interop +{ + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [return: NativeTypeName("LLVMErrorRef")] + public unsafe delegate LLVMOpaqueError* LLVMOrcObjectTransformLayerTransformFunction(void* Ctx, [NativeTypeName("LLVMMemoryBufferRef *")] LLVMOpaqueMemoryBuffer** ObjInOut); +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueDefinitionGenerator.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueDefinitionGenerator.cs index e7a3cc6c..902b7003 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueDefinitionGenerator.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueDefinitionGenerator.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueDumpObjects.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueDumpObjects.cs new file mode 100644 index 00000000..cbf4d5a8 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueDumpObjects.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueDumpObjects + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueExecutionSession.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueExecutionSession.cs index 5cf43723..a6a3d0cc 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueExecutionSession.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueExecutionSession.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueIRTransformLayer.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueIRTransformLayer.cs new file mode 100644 index 00000000..728b4336 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueIRTransformLayer.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueIRTransformLayer + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueIndirectStubsManager.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueIndirectStubsManager.cs new file mode 100644 index 00000000..e97d1133 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueIndirectStubsManager.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueIndirectStubsManager + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITDylib.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITDylib.cs index e14c8749..ae8a11ea 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITDylib.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITDylib.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITTargetMachineBuilder.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITTargetMachineBuilder.cs index b22f7d04..96bd92b3 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITTargetMachineBuilder.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueJITTargetMachineBuilder.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJIT.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJIT.cs index a818a1ed..fe1dcd07 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJIT.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJIT.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJITBuilder.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJITBuilder.cs index 5aaf5ff6..675da1a0 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJITBuilder.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLLJITBuilder.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLazyCallThroughManager.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLazyCallThroughManager.cs new file mode 100644 index 00000000..a4ea389f --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLazyCallThroughManager.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueLazyCallThroughManager + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLookupState.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLookupState.cs index f839bf45..580a9e8c 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueLookupState.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueLookupState.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationResponsibility.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationResponsibility.cs new file mode 100644 index 00000000..004c554d --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationResponsibility.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueMaterializationResponsibility + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationUnit.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationUnit.cs index 6c3b9d05..68ca4adf 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationUnit.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueMaterializationUnit.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLayer.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLayer.cs index fa9dc297..3a9d7aba 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLayer.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLayer.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLinkingLayer.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLinkingLayer.cs new file mode 100644 index 00000000..8ef06a55 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectLinkingLayer.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueObjectLinkingLayer + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectTransformLayer.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectTransformLayer.cs new file mode 100644 index 00000000..d2da7a42 --- /dev/null +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueObjectTransformLayer.cs @@ -0,0 +1,11 @@ +// 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-13.0.0/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 +{ + public partial struct LLVMOrcOpaqueObjectTransformLayer + { + } +} diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueResourceTracker.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueResourceTracker.cs index 25d4cd5b..f86d2f39 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueResourceTracker.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueResourceTracker.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPool.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPool.cs index 1eaa9089..309a6523 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPool.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPool.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPoolEntry.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPoolEntry.cs index 4b8144f7..4aa3c342 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPoolEntry.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueSymbolStringPoolEntry.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeContext.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeContext.cs index dcb2c32a..e396703f 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeContext.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeContext.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeModule.cs b/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeModule.cs index 7e6ba7cf..82636af7 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeModule.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcOpaqueThreadSafeModule.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs b/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs index 039d04ee..8dd65412 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMOrcSymbolPredicate.cs b/sources/LLVMSharp.Interop/LLVMOrcSymbolPredicate.cs index b68313f4..7c71b995 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcSymbolPredicate.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcSymbolPredicate.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMRealPredicate.cs b/sources/LLVMSharp.Interop/LLVMRealPredicate.cs index c990b86a..f6a9d4c5 100644 --- a/sources/LLVMSharp.Interop/LLVMRealPredicate.cs +++ b/sources/LLVMSharp.Interop/LLVMRealPredicate.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRelocMode.cs b/sources/LLVMSharp.Interop/LLVMRelocMode.cs index 30630656..29ae5de0 100644 --- a/sources/LLVMSharp.Interop/LLVMRelocMode.cs +++ b/sources/LLVMSharp.Interop/LLVMRelocMode.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueArg.cs b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueArg.cs index 57338f98..440b0c0d 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueArg.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueArg.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueDebugLoc.cs b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueDebugLoc.cs index 9f3d9a20..487ed62d 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueDebugLoc.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueDebugLoc.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueEntry.cs b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueEntry.cs index 740ef128..8cae4773 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueEntry.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueEntry.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueParser.cs b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueParser.cs index 374510d1..8001ad43 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueParser.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueParser.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueString.cs b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueString.cs index 69d813b6..7115d08c 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkOpaqueString.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkOpaqueString.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMRemarkType.cs b/sources/LLVMSharp.Interop/LLVMRemarkType.cs index 22261005..6539f8ca 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkType.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkType.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMSharp.Interop.csproj b/sources/LLVMSharp.Interop/LLVMSharp.Interop.csproj index b0a6ad85..98a8a668 100644 --- a/sources/LLVMSharp.Interop/LLVMSharp.Interop.csproj +++ b/sources/LLVMSharp.Interop/LLVMSharp.Interop.csproj @@ -2,7 +2,7 @@ - net5.0;netcoreapp3.1;netstandard2.0 + net6.0;netstandard2.0 diff --git a/sources/LLVMSharp.Interop/LLVMSymbolLookupCallback.cs b/sources/LLVMSharp.Interop/LLVMSymbolLookupCallback.cs index 07b7b128..213c5856 100644 --- a/sources/LLVMSharp.Interop/LLVMSymbolLookupCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMSymbolLookupCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LLVMTarget.cs b/sources/LLVMSharp.Interop/LLVMTarget.cs index 5dcb1f2b..374d6d58 100644 --- a/sources/LLVMSharp.Interop/LLVMTarget.cs +++ b/sources/LLVMSharp.Interop/LLVMTarget.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs b/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs index 5ef11f3a..48431872 100644 --- a/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs +++ b/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMTypeKind.cs b/sources/LLVMSharp.Interop/LLVMTypeKind.cs index 9f7cf0ea..29e26c82 100644 --- a/sources/LLVMSharp.Interop/LLVMTypeKind.cs +++ b/sources/LLVMSharp.Interop/LLVMTypeKind.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs b/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs index 8fdf2c3d..3ed29ce3 100644 --- a/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs +++ b/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMValueKind.cs b/sources/LLVMSharp.Interop/LLVMValueKind.cs index 389b836f..e3da43eb 100644 --- a/sources/LLVMSharp.Interop/LLVMValueKind.cs +++ b/sources/LLVMSharp.Interop/LLVMValueKind.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs b/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs index bd0d6e7f..93ad24a8 100644 --- a/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs +++ b/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMVisibility.cs b/sources/LLVMSharp.Interop/LLVMVisibility.cs index 8cabbc42..e89a1890 100644 --- a/sources/LLVMSharp.Interop/LLVMVisibility.cs +++ b/sources/LLVMSharp.Interop/LLVMVisibility.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/LLVMYieldCallback.cs b/sources/LLVMSharp.Interop/LLVMYieldCallback.cs index 8b08f2ad..6df15717 100644 --- a/sources/LLVMSharp.Interop/LLVMYieldCallback.cs +++ b/sources/LLVMSharp.Interop/LLVMYieldCallback.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/LTOObjectBuffer.cs b/sources/LLVMSharp.Interop/LTOObjectBuffer.cs index 2c8090d3..37026d30 100644 --- a/sources/LLVMSharp.Interop/LTOObjectBuffer.cs +++ b/sources/LLVMSharp.Interop/LTOObjectBuffer.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs b/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs index 338777ce..e1c4acd8 100644 --- a/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs +++ b/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/lto_codegen_model.cs b/sources/LLVMSharp.Interop/lto_codegen_model.cs index 3552db60..ce629a07 100644 --- a/sources/LLVMSharp.Interop/lto_codegen_model.cs +++ b/sources/LLVMSharp.Interop/lto_codegen_model.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/lto_debug_model.cs b/sources/LLVMSharp.Interop/lto_debug_model.cs index b833b7a1..daf28660 100644 --- a/sources/LLVMSharp.Interop/lto_debug_model.cs +++ b/sources/LLVMSharp.Interop/lto_debug_model.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp.Interop/lto_diagnostic_handler_t.cs b/sources/LLVMSharp.Interop/lto_diagnostic_handler_t.cs index a4966a8c..f745cec2 100644 --- a/sources/LLVMSharp.Interop/lto_diagnostic_handler_t.cs +++ b/sources/LLVMSharp.Interop/lto_diagnostic_handler_t.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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; diff --git a/sources/LLVMSharp.Interop/lto_symbol_attributes.cs b/sources/LLVMSharp.Interop/lto_symbol_attributes.cs index 443392b1..138d2880 100644 --- a/sources/LLVMSharp.Interop/lto_symbol_attributes.cs +++ b/sources/LLVMSharp.Interop/lto_symbol_attributes.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 diff --git a/sources/LLVMSharp/LLVMSharp.csproj b/sources/LLVMSharp/LLVMSharp.csproj index 0e04df29..4c2be5da 100644 --- a/sources/LLVMSharp/LLVMSharp.csproj +++ b/sources/LLVMSharp/LLVMSharp.csproj @@ -3,7 +3,7 @@ false - net5.0;netcoreapp3.1;netstandard2.0 + net6.0;netstandard2.0 diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMComdatTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMComdatTests.cs index 8b2c2310..04827c8f 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMComdatTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMComdatTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMJITCSymbolMapPairTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMJITCSymbolMapPairTests.cs index 08613448..e7965c3f 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMJITCSymbolMapPairTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMJITCSymbolMapPairTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs index 4a77db6b..b5f6c50d 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs index 4b172bc8..d467e246 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs index 322a18e4..81e594f3 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs index 1dc30fb1..a332825b 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs index 658d9a7f..23332512 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueAttributeRefTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueAttributeRefTests.cs index 8fab481c..f1d0bcb4 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueAttributeRefTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueAttributeRefTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBasicBlockTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBasicBlockTests.cs index f8bf4a85..7b8e5e4a 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBasicBlockTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBasicBlockTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBinaryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBinaryTests.cs index e05d90b2..2e2dac85 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBinaryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBinaryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBuilderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBuilderTests.cs index 837dc5b3..606e8d45 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBuilderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueBuilderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueContextTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueContextTests.cs index 52595d19..abbbc7aa 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueContextTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueContextTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDIBuilderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDIBuilderTests.cs index 445579b5..86ce20a6 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDIBuilderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDIBuilderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDiagnosticInfoTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDiagnosticInfoTests.cs index 25b9b44e..3eb5dd47 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDiagnosticInfoTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueDiagnosticInfoTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueErrorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueErrorTests.cs index 484e8f7c..08d5212f 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueErrorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueErrorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueExecutionEngineTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueExecutionEngineTests.cs index d7eafd0d..22223a73 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueExecutionEngineTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueExecutionEngineTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueGenericValueTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueGenericValueTests.cs index f982eb20..d8861d07 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueGenericValueTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueGenericValueTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueJITEventListenerTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueJITEventListenerTests.cs index 8eea89ae..8e1aa0d1 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueJITEventListenerTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueJITEventListenerTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOCodeGeneratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOCodeGeneratorTests.cs index c0e80447..e1598b3b 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOCodeGeneratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOCodeGeneratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOInputTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOInputTests.cs index 55acf933..9b0eb06f 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOInputTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOInputTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOModuleTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOModuleTests.cs index 72a00ad5..c25f86c9 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOModuleTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueLTOModuleTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMCJITMemoryManagerTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMCJITMemoryManagerTests.cs index 97413394..c4b6b771 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMCJITMemoryManagerTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMCJITMemoryManagerTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMemoryBufferTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMemoryBufferTests.cs index d98da95a..b2b69351 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMemoryBufferTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMemoryBufferTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMetadataTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMetadataTests.cs index 6854a765..f86fb430 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMetadataTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueMetadataTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleFlagEntryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleFlagEntryTests.cs index d503096b..f22a874e 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleFlagEntryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleFlagEntryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleProviderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleProviderTests.cs index 7b028505..a852a257 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleProviderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleProviderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleTests.cs index 3c4a70d8..b3759099 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueModuleTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueNamedMDNodeTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueNamedMDNodeTests.cs index eeb8a882..e1c02d30 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueNamedMDNodeTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueNamedMDNodeTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueObjectFileTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueObjectFileTests.cs index 0a51f7a2..d776d700 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueObjectFileTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueObjectFileTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerBuilderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerBuilderTests.cs index 44c3bbfc..37122fa4 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerBuilderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerBuilderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerTests.cs index 79db3928..4bd24fb6 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassManagerTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassRegistryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassRegistryTests.cs index 24d0ab66..68554299 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassRegistryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaquePassRegistryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueRelocationIteratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueRelocationIteratorTests.cs index 41954831..677918e5 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueRelocationIteratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueRelocationIteratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSectionIteratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSectionIteratorTests.cs index ca531f9f..1b71439b 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSectionIteratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSectionIteratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSymbolIteratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSymbolIteratorTests.cs index 518be0d8..09dcbfbe 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSymbolIteratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueSymbolIteratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetDataTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetDataTests.cs index 571cdd47..a36a04de 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetDataTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetDataTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetLibraryInfotDataTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetLibraryInfotDataTests.cs index 1de058ef..f2b8dce7 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetLibraryInfotDataTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetLibraryInfotDataTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetMachineTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetMachineTests.cs index 2abacb5d..fcadd6fd 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetMachineTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTargetMachineTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueThinLTOCodeGeneratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueThinLTOCodeGeneratorTests.cs index 3b50cdbb..5144ab5a 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueThinLTOCodeGeneratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueThinLTOCodeGeneratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTypeTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTypeTests.cs index a714c701..26f7859f 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTypeTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueTypeTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueUseTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueUseTests.cs index 17ac4a03..024b5b40 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueUseTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueUseTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueMetadataEntryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueMetadataEntryTests.cs index c75c36a3..504d410b 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueMetadataEntryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueMetadataEntryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueTests.cs index 77146950..fb955e72 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpaqueValueTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs index 4c12dd1c..36b507b7 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueDefinitionGeneratorTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueDefinitionGeneratorTests.cs index 264de63d..0200a030 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueDefinitionGeneratorTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueDefinitionGeneratorTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueExecutionSessionTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueExecutionSessionTests.cs index 3d5548af..56495dd8 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueExecutionSessionTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueExecutionSessionTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITDylibTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITDylibTests.cs index 2af1dfa2..08e007dd 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITDylibTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITDylibTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITTargetMachineBuilderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITTargetMachineBuilderTests.cs index 3d79d790..59a06aba 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITTargetMachineBuilderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueJITTargetMachineBuilderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITBuilderTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITBuilderTests.cs index cd026e33..2f003851 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITBuilderTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITBuilderTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITTests.cs index 90eb0357..27bc040d 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLLJITTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLookupStateTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLookupStateTests.cs index b1631a08..703eb9ad 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLookupStateTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueLookupStateTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueMaterializationUnitTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueMaterializationUnitTests.cs index f007ebab..42a9291c 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueMaterializationUnitTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueMaterializationUnitTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueObjectLayerTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueObjectLayerTests.cs index 164f2cb0..ca6a0bc6 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueObjectLayerTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueObjectLayerTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueResourceTrackerTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueResourceTrackerTests.cs index f329a45c..4dc0b6e8 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueResourceTrackerTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueResourceTrackerTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolEntryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolEntryTests.cs index 433ba952..9709c2d0 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolEntryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolEntryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolTests.cs index c52a0092..7a886af1 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueSymbolStringPoolTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeContextTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeContextTests.cs index fcb1a7ea..39d56f57 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeContextTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeContextTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeModuleTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeModuleTests.cs index fa1ab23a..2f4475fc 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeModuleTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcOpaqueThreadSafeModuleTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueArgTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueArgTests.cs index 2d57ec18..3d712f75 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueArgTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueArgTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueDebugLocTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueDebugLocTests.cs index 0d93860a..e489b4b1 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueDebugLocTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueDebugLocTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueEntryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueEntryTests.cs index f7837b77..0f2d5e57 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueEntryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueEntryTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueParserTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueParserTests.cs index 0e92e51f..19036cd5 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueParserTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueParserTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueStringTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueStringTests.cs index 32c8de5e..a5fbd7b9 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueStringTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMRemarkOpaqueStringTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMTargetTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMTargetTests.cs index 0a6d51f3..6e238467 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMTargetTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMTargetTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs b/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs index c083135a..995d3852 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs @@ -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-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/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 NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj b/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj index 3286cc4f..910741f3 100644 --- a/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj +++ b/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj @@ -2,7 +2,7 @@ - net5.0;netcoreapp3.1 + net6.0