diff --git a/Directory.Build.props b/Directory.Build.props index ef6a348e..66020251 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -40,7 +40,7 @@ Microsoft $(BaseArtifactsPath)pkg/$(Configuration)/ LLVMSharp - 9.0.0 + 10.0.0 beta diff --git a/Directory.Build.targets b/Directory.Build.targets index ae951f95..419af15c 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -22,13 +22,13 @@ - - - - + + + + - - + + diff --git a/LLVMSharp.sln b/LLVMSharp.sln index 5b742437..8d63849a 100644 --- a/LLVMSharp.sln +++ b/LLVMSharp.sln @@ -91,11 +91,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.sles-x64", packages\libLLVM\libLLVM.runtime.sles-x64\libLLVM.runtime.sles-x64.nuspec = packages\libLLVM\libLLVM.runtime.sles-x64\libLLVM.runtime.sles-x64.nuspec EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.14.04-x64", "libLLVM.runtime.ubuntu.14.04-x64", "{DC151BEE-774F-4032-8D2F-F3360F7F4D82}" - ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.ubuntu.14.04-x64\libLLVM.runtime.ubuntu.14.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.14.04-x64\libLLVM.runtime.ubuntu.14.04-x64.nuspec - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.16.04-x64", "libLLVM.runtime.ubuntu.16.04-x64", "{9F3C3619-32D3-489E-BE7A-92FEE299DE34}" ProjectSection(SolutionItems) = preProject packages\libLLVM\libLLVM.runtime.ubuntu.16.04-x64\libLLVM.runtime.ubuntu.16.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.16.04-x64\libLLVM.runtime.ubuntu.16.04-x64.nuspec @@ -106,6 +101,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.18.0 packages\libLLVM\libLLVM.runtime.ubuntu.18.04-x64\libLLVM.runtime.ubuntu.18.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.18.04-x64\libLLVM.runtime.ubuntu.18.04-x64.nuspec EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.20.04-x64", "libLLVM.runtime.ubuntu.20.04-x64", "{DC151BEE-774F-4032-8D2F-F3360F7F4D82}" + ProjectSection(SolutionItems) = preProject + packages\libLLVM\libLLVM.runtime.ubuntu.20.04-x64\libLLVM.runtime.ubuntu.20.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.20.04-x64\libLLVM.runtime.ubuntu.20.04-x64.nuspec + EndProjectSection +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-x64", "libLLVM.runtime.win-x64", "{E785DDD0-B9CD-4412-8A3C-4E65C601168C}" ProjectSection(SolutionItems) = preProject packages\libLLVM\libLLVM.runtime.win-x64\libLLVM.runtime.win-x64.nuspec = packages\libLLVM\libLLVM.runtime.win-x64\libLLVM.runtime.win-x64.nuspec diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec index 488f84db..e51d610d 100644 --- a/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.freebsd.11-x64/libLLVM.runtime.freebsd.11-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.freebsd.11-x64 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp freebsd 11 x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec index a21b3a60..8d4f9d55 100644 --- a/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec +++ b/packages/libLLVM/libLLVM.runtime.freebsd.11-x86/libLLVM.runtime.freebsd.11-x86.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.freebsd.11-x86 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp freebsd 11 x86 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 b52ae40d..a6bd0829 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp linux arm native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 6c23888b..8616d2fe 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp linux arm64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 1e942425..cffdadaf 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp osx x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + diff --git a/packages/libLLVM/libLLVM.runtime.sles-x64/libLLVM.runtime.sles-x64.nuspec b/packages/libLLVM/libLLVM.runtime.sles-x64/libLLVM.runtime.sles-x64.nuspec index af90c82c..4acf2e1c 100644 --- a/packages/libLLVM/libLLVM.runtime.sles-x64/libLLVM.runtime.sles-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.sles-x64/libLLVM.runtime.sles-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.sles-x64 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp sles x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.16.04-x64/libLLVM.runtime.ubuntu.16.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.16.04-x64/libLLVM.runtime.ubuntu.16.04-x64.nuspec index 74fb63d4..81bfc22d 100644 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.16.04-x64/libLLVM.runtime.ubuntu.16.04-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.ubuntu.16.04-x64/libLLVM.runtime.ubuntu.16.04-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.ubuntu.16.04-x64 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp ubuntu 16.04 x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 1d7c81a6..e18eaca0 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp ubuntu 18.04 x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.14.04-x64/libLLVM.runtime.ubuntu.14.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec similarity index 64% rename from packages/libLLVM/libLLVM.runtime.ubuntu.14.04-x64/libLLVM.runtime.ubuntu.14.04-x64.nuspec rename to packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec index e4df2856..2a085bb4 100644 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.14.04-x64/libLLVM.runtime.ubuntu.14.04-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec @@ -1,19 +1,19 @@ - libLLVM.runtime.ubuntu.14.04-x64 - 8.0.0 + libLLVM.runtime.ubuntu.20.04-x64 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true Apache-2.0 https://github.com/microsoft/llvmsharp - ubuntu 14.04 x64 native library for libLLVM. + ubuntu 20.04 x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 f2d00bc3..7b84c8b9 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp win x64 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + 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 361c0b03..b0f92b23 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 - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,10 +10,10 @@ https://github.com/microsoft/llvmsharp win x86 native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + - + diff --git a/packages/libLLVM/libLLVM/LICENSE.TXT b/packages/libLLVM/libLLVM/LICENSE.TXT index 57151765..24806ab4 100644 --- a/packages/libLLVM/libLLVM/LICENSE.TXT +++ b/packages/libLLVM/libLLVM/LICENSE.TXT @@ -239,7 +239,7 @@ Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy): University of Illinois/NCSA Open Source License -Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign. +Copyright (c) 2007-2019 University of Illinois at Urbana-Champaign. All rights reserved. Developed by: diff --git a/packages/libLLVM/libLLVM/libLLVM.nuspec b/packages/libLLVM/libLLVM/libLLVM.nuspec index ce912f92..34631d52 100644 --- a/packages/libLLVM/libLLVM/libLLVM.nuspec +++ b/packages/libLLVM/libLLVM/libLLVM.nuspec @@ -2,7 +2,7 @@ libLLVM - 8.0.0 + 10.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/llvmsharp Multi-platform native library for libLLVM. Copyright © University of Illinois at Urbana-Champaign - + diff --git a/packages/libLLVM/libLLVM/runtime.json b/packages/libLLVM/libLLVM/runtime.json index 19ae10e3..d5184377 100644 --- a/packages/libLLVM/libLLVM/runtime.json +++ b/packages/libLLVM/libLLVM/runtime.json @@ -2,57 +2,57 @@ "runtimes": { "freebsd.11-x64": { "libLLVM": { - "libLLVM.runtime.freebsd.11-x64": "8.0.0" + "libLLVM.runtime.freebsd.11-x64": "10.0.0" } }, "freebsd.11-x86": { "libLLVM": { - "libLLVM.runtime.freebsd.11-x86": "8.0.0" + "libLLVM.runtime.freebsd.11-x86": "10.0.0" } }, "linux-arm": { "libLLVM": { - "libLLVM.runtime.linux-arm": "8.0.0" + "libLLVM.runtime.linux-arm": "10.0.0" } }, "linux-arm64": { "libLLVM": { - "libLLVM.runtime.linux-arm64": "8.0.0" + "libLLVM.runtime.linux-arm64": "10.0.0" } }, "osx-x64": { "libLLVM": { - "libLLVM.runtime.osx-x64": "8.0.0" + "libLLVM.runtime.osx-x64": "10.0.0" } }, "sles-x64": { "libLLVM": { - "libLLVM.runtime.sles-x64": "8.0.0" + "libLLVM.runtime.sles-x64": "10.0.0" } }, - "ubuntu.14.04-x64": { + "ubuntu.16.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.14.04-x64": "8.0.0" + "libLLVM.runtime.ubuntu.16.04-x64": "10.0.0" } }, - "ubuntu.16.04-x64": { + "ubuntu.18.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.16.04-x64": "8.0.0" + "libLLVM.runtime.ubuntu.18.04-x64": "10.0.0" } }, - "ubuntu.18.04-x64": { + "ubuntu.20.04-x64": { "libLLVM": { - "libLLVM.runtime.ubuntu.18.04-x64": "8.0.0" + "libLLVM.runtime.ubuntu.20.04-x64": "10.0.0" } }, "win-x64": { "libLLVM": { - "libLLVM.runtime.win-x64": "8.0.0" + "libLLVM.runtime.win-x64": "10.0.0" } }, "win-x86": { "libLLVM": { - "libLLVM.runtime.win-x86": "8.0.0" + "libLLVM.runtime.win-x86": "10.0.0" } } } diff --git a/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj index 6d0002ab..f5606aa4 100644 --- a/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj @@ -8,7 +8,7 @@ Properties Kaleidoscope Kaleidoscope - netcoreapp2.1 + netcoreapp3.1 0e4b5d39 512 diff --git a/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index 54fc682f..c092afb2 100644 --- a/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -8,7 +8,7 @@ Properties KaleidoscopeLLVM KaleidoscopeLLVM - netcoreapp2.1 + netcoreapp3.1 512 b8df454a diff --git a/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj index 255c78c2..ec3fdda2 100644 --- a/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj @@ -8,7 +8,7 @@ Properties Kaleidoscope Kaleidoscope - netcoreapp2.1 + netcoreapp3.1 0e4b5d39 diff --git a/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index 8e6b31ff..e589ec07 100644 --- a/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -8,7 +8,7 @@ Properties KaleidoscopeLLVM KaleidoscopeLLVM - netcoreapp2.1 + netcoreapp3.1 512 b8df454a diff --git a/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj index c320ad35..068bfc0f 100644 --- a/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj @@ -9,7 +9,7 @@ Properties Kaleidoscope Kaleidoscope - netcoreapp2.1 + netcoreapp3.1 0e4b5d39 diff --git a/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index 3733784b..abfb50a6 100644 --- a/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -8,7 +8,7 @@ Properties KaleidoscopeLLVM KaleidoscopeLLVM - netcoreapp2.1 + netcoreapp3.1 512 b8df454a diff --git a/scripts/azure-pipelines.yml b/scripts/azure-pipelines.yml index 4e5c636f..50a10390 100644 --- a/scripts/azure-pipelines.yml +++ b/scripts/azure-pipelines.yml @@ -39,7 +39,7 @@ jobs: pool: ubuntu-latest configuration: Debug architecture: x64 - rid: ubuntu.16.04-x64 + rid: ubuntu.18.04-x64 - template: azure-unix.yml parameters: @@ -47,7 +47,7 @@ jobs: pool: ubuntu-latest configuration: Release architecture: x64 - rid: ubuntu.16.04-x64 + rid: ubuntu.18.04-x64 - template: azure-unix.yml parameters: diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 65348d63..85b775bf 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -120,9 +120,8 @@ try { $DotNetInstallDirectory = Join-Path -Path $ArtifactsDir -ChildPath "dotnet" Create-Directory -Path $DotNetInstallDirectory - & $DotNetInstallScript -Channel 3.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture + & $DotNetInstallScript -Channel 3.1 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture & $DotNetInstallScript -Channel 2.1 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture -Runtime dotnet - & $DotNetInstallScript -Channel 2.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture -Runtime dotnet $env:PATH="$DotNetInstallDirectory;$env:PATH" } diff --git a/scripts/build.sh b/scripts/build.sh index 818bf314..3fddfddd 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -204,9 +204,8 @@ if [[ ! -z "$architecture" ]]; then DotNetInstallDirectory="$ArtifactsDir/dotnet" CreateDirectory "$DotNetInstallDirectory" - . "$DotNetInstallScript" --channel 3.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" + . "$DotNetInstallScript" --channel 3.1 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" . "$DotNetInstallScript" --channel 2.1 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" --runtime dotnet - . "$DotNetInstallScript" --channel 2.0 --version latest --install-dir "$DotNetInstallDirectory" --architecture "$architecture" --runtime dotnet PATH="$DotNetInstallDirectory:$PATH:" fi diff --git a/sources/LLVMSharp/Interop.Extensions/LLVMBuilderRef.cs b/sources/LLVMSharp/Interop.Extensions/LLVMBuilderRef.cs index 94ad3a83..9f73c129 100644 --- a/sources/LLVMSharp/Interop.Extensions/LLVMBuilderRef.cs +++ b/sources/LLVMSharp/Interop.Extensions/LLVMBuilderRef.cs @@ -204,6 +204,12 @@ public LLVMValueRef BuildFPTrunc(LLVMValueRef Val, LLVMTypeRef DestTy, string Na public LLVMValueRef BuildFree(LLVMValueRef PointerVal) => LLVM.BuildFree(this, PointerVal); + public LLVMValueRef BuildFreeze(LLVMValueRef Val, string Name = "") + { + using var marshaledName = new MarshaledString(Name); + return LLVM.BuildFreeze(this, Val, marshaledName); + } + public LLVMValueRef BuildFRem(LLVMValueRef LHS, LLVMValueRef RHS, string Name = "") { using var marshaledName = new MarshaledString(Name); diff --git a/sources/LLVMSharp/Interop.Extensions/LLVMDIBuilderRef.cs b/sources/LLVMSharp/Interop.Extensions/LLVMDIBuilderRef.cs index fed19373..4faaba54 100644 --- a/sources/LLVMSharp/Interop.Extensions/LLVMDIBuilderRef.cs +++ b/sources/LLVMSharp/Interop.Extensions/LLVMDIBuilderRef.cs @@ -43,6 +43,30 @@ public LLVMMetadataRef CreateFunction(LLVMMetadataRef Scope, string Name, string LineNo, Type, IsLocalToUnit, IsDefinition, ScopeLine, Flags, IsOptimized); } + public LLVMMetadataRef CreateMacro(LLVMMetadataRef ParentMacroFile, uint Line, LLVMDWARFMacinfoRecordType RecordType, string Name, string Value) + { + using var marshaledName = new MarshaledString(Name); + using var marshaledValue = new MarshaledString(Value); + var nameLength = (uint)marshaledName.Length; + var valueLength = (uint)marshaledValue.Length; + + return LLVM.DIBuilderCreateMacro(this, ParentMacroFile, Line, RecordType, marshaledName, (UIntPtr)nameLength, marshaledValue, (UIntPtr)valueLength); + } + + public LLVMMetadataRef CreateModule(LLVMMetadataRef ParentScope, string Name, string ConfigMacros, string IncludePath, string SysRoot) + { + using var marshaledName = new MarshaledString(Name); + using var marshaledConfigMacros = new MarshaledString(ConfigMacros); + using var marshaledIncludePath = new MarshaledString(IncludePath); + using var marshaledSysRoot = new MarshaledString(SysRoot); + var nameLength = (uint)marshaledName.Length; + var configMacrosLength = (uint)marshaledConfigMacros.Length; + var includePathLength = (uint)marshaledIncludePath.Length; + var sysRootLength = (uint)marshaledSysRoot.Length; + + return LLVM.DIBuilderCreateModule(this, ParentScope, marshaledName, (UIntPtr)nameLength, marshaledConfigMacros, (UIntPtr)configMacrosLength, marshaledIncludePath, (UIntPtr)includePathLength, marshaledSysRoot, (UIntPtr)sysRootLength); + } + public LLVMMetadataRef CreateSubroutineType(LLVMMetadataRef File, ReadOnlySpan ParameterTypes, LLVMDIFlags Flags) { fixed (LLVMMetadataRef* pParameterTypes = ParameterTypes) @@ -51,12 +75,21 @@ public LLVMMetadataRef CreateSubroutineType(LLVMMetadataRef File, ReadOnlySpan LLVM.DIBuilderCreateTempMacroFile(this, ParentMacroFile, Line, File); + + public LLVMMetadataRef CreateTypedef(LLVMMetadataRef Type, string Name, LLVMMetadataRef File, uint LineNo, LLVMMetadataRef Scope, uint AlignInBits) + { + using var marshaledName = new MarshaledString(Name); + var nameLength = (uint)marshaledName.Length; + + return LLVM.DIBuilderCreateTypedef(this, Type, marshaledName, (UIntPtr)nameLength, File, LineNo, Scope, AlignInBits); + } + public void DIBuilderFinalize() { LLVM.DIBuilderFinalize(this); } - public static implicit operator LLVMDIBuilderRef(LLVMOpaqueDIBuilder* value) { return new LLVMDIBuilderRef((IntPtr)value); diff --git a/sources/LLVMSharp/Interop.Extensions/LLVMPassManagerRef.cs b/sources/LLVMSharp/Interop.Extensions/LLVMPassManagerRef.cs index 6bd4a245..3609f7f1 100644 --- a/sources/LLVMSharp/Interop.Extensions/LLVMPassManagerRef.cs +++ b/sources/LLVMSharp/Interop.Extensions/LLVMPassManagerRef.cs @@ -51,6 +51,8 @@ public static implicit operator LLVMPassManagerRef(LLVMOpaquePassManager* value) public void AddCorrelatedValuePropagationPass() => LLVM.AddCorrelatedValuePropagationPass(this); + public void AddDCEPass() => LLVM.AddDCEPass(this); + public void AddDeadArgEliminationPass() => LLVM.AddDeadArgEliminationPass(this); public void AddDeadStoreEliminationPass() => LLVM.AddDeadStoreEliminationPass(this); @@ -99,6 +101,8 @@ public static implicit operator LLVMPassManagerRef(LLVMOpaquePassManager* value) public void AddLoopVectorizePass() => LLVM.AddLoopVectorizePass(this); + public void AddLowerConstantIntrinsicsPass() => LLVM.AddLowerConstantIntrinsicsPass(this); + public void AddLowerExpectIntrinsicPass() => LLVM.AddLowerExpectIntrinsicPass(this); public void AddLowerSwitchPass() => LLVM.AddLowerSwitchPass(this); @@ -107,6 +111,8 @@ public static implicit operator LLVMPassManagerRef(LLVMOpaquePassManager* value) public void AddMergedLoadStoreMotionPass() => LLVM.AddMergedLoadStoreMotionPass(this); + public void AddMergeFunctionsPass() => LLVM.AddMergeFunctionsPass(this); + public void AddNewGVNPass() => LLVM.AddNewGVNPass(this); public void AddPartiallyInlineLibCallsPass() => LLVM.AddPartiallyInlineLibCallsPass(this); diff --git a/sources/LLVMSharp/Interop.Extensions/LLVMValueRef.cs b/sources/LLVMSharp/Interop.Extensions/LLVMValueRef.cs index 25355f64..0f65fb1b 100644 --- a/sources/LLVMSharp/Interop.Extensions/LLVMValueRef.cs +++ b/sources/LLVMSharp/Interop.Extensions/LLVMValueRef.cs @@ -31,6 +31,12 @@ public uint Alignment public LLVMBasicBlockRef AsBasicBlock => (Handle != IntPtr.Zero) ? LLVM.ValueAsBasicBlock(this) : default; + public LLVMAtomicRMWBinOp AtomicRMWBinOp + { + get => (Handle != IntPtr.Zero) ? LLVM.GetAtomicRMWBinOp(this) : default; + set => LLVM.SetAtomicRMWBinOp(this, value); + } + public LLVMBasicBlockRef[] BasicBlocks { get @@ -154,6 +160,10 @@ public uint InstructionCallConv public LLVMValueRef IsAArgument => (Handle != IntPtr.Zero) ? LLVM.IsAArgument(this) : default; + public LLVMValueRef IsAAtomicCmpXchgInst => (Handle != IntPtr.Zero) ? LLVM.IsAAtomicCmpXchgInst(this) : default; + + public LLVMValueRef IsAAtomicRMWInst => (Handle != IntPtr.Zero) ? LLVM.IsAAtomicRMWInst(this) : default; + public LLVMValueRef IsABasicBlock => (Handle != IntPtr.Zero) ? LLVM.IsABasicBlock(this) : default; public LLVMValueRef IsABinaryOperator => (Handle != IntPtr.Zero) ? LLVM.IsABinaryOperator(this) : default; @@ -164,10 +174,14 @@ public uint InstructionCallConv public LLVMValueRef IsABranchInst => (Handle != IntPtr.Zero) ? LLVM.IsABranchInst(this) : default; + public LLVMValueRef IsACallBrInst => (Handle != IntPtr.Zero) ? LLVM.IsACallBrInst(this) : default; + public LLVMValueRef IsACallInst => (Handle != IntPtr.Zero) ? LLVM.IsACallInst(this) : default; public LLVMValueRef IsACastInst => (Handle != IntPtr.Zero) ? LLVM.IsACastInst(this) : default; + public LLVMValueRef IsACatchSwitchInst => (Handle != IntPtr.Zero) ? LLVM.IsACatchSwitchInst(this) : default; + public LLVMValueRef IsACmpInst => (Handle != IntPtr.Zero) ? LLVM.IsACmpInst(this) : default; public LLVMValueRef IsAConstant => (Handle != IntPtr.Zero) ? LLVM.IsAConstant(this) : default; @@ -204,6 +218,8 @@ public uint InstructionCallConv public LLVMValueRef IsAFCmpInst => (Handle != IntPtr.Zero) ? LLVM.IsAFCmpInst(this) : default; + public LLVMValueRef IsAFenceInst => (Handle != IntPtr.Zero) ? LLVM.IsAFenceInst(this) : default; + public LLVMValueRef IsAFPExtInst => (Handle != IntPtr.Zero) ? LLVM.IsAFPExtInst(this) : default; public LLVMValueRef IsAFPToSIInst => (Handle != IntPtr.Zero) ? LLVM.IsAFPToSIInst(this) : default; @@ -212,6 +228,8 @@ public uint InstructionCallConv public LLVMValueRef IsAFPTruncInst => (Handle != IntPtr.Zero) ? LLVM.IsAFPTruncInst(this) : default; + public LLVMValueRef IsAFreezeInst => (Handle != IntPtr.Zero) ? LLVM.IsAFreezeInst(this) : default; + public LLVMValueRef IsAFunction => (Handle != IntPtr.Zero) ? LLVM.IsAFunction(this) : default; public LLVMValueRef IsAGetElementPtrInst => (Handle != IntPtr.Zero) ? LLVM.IsAGetElementPtrInst(this) : default; @@ -286,6 +304,8 @@ public uint InstructionCallConv public LLVMValueRef IsAUnaryInstruction => (Handle != IntPtr.Zero) ? LLVM.IsAUnaryInstruction(this) : default; + public LLVMValueRef IsAUnaryOperator => (Handle != IntPtr.Zero) ? LLVM.IsAUnaryOperator(this) : default; + public LLVMValueRef IsAUndefValue => (Handle != IntPtr.Zero) ? LLVM.IsAUndefValue(this) : default; public LLVMValueRef IsAUnreachableInst => (Handle != IntPtr.Zero) ? LLVM.IsAUnreachableInst(this) : default; @@ -499,6 +519,12 @@ public bool Volatile set => LLVM.SetVolatile(this, value ? 1 : 0); } + public bool Weak + { + get => (Handle != IntPtr.Zero) ? LLVM.GetWeak(this) != 0 : default; + set => LLVM.SetWeak(this, value ? 1 : 0); + } + public static bool operator ==(LLVMValueRef left, LLVMValueRef right) => left.Handle == right.Handle; public static bool operator !=(LLVMValueRef left, LLVMValueRef right) => !(left == right); diff --git a/sources/LLVMSharp/Interop/LLVM.cs b/sources/LLVMSharp/Interop/LLVM.cs index c48afce1..3480209e 100644 --- a/sources/LLVMSharp/Interop/LLVM.cs +++ b/sources/LLVMSharp/Interop/LLVM.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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; @@ -764,6 +764,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsAInstruction([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAUnaryOperator", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsAUnaryOperator([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsABinaryOperator", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsABinaryOperator([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); @@ -892,6 +896,14 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsACatchReturnInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsACatchSwitchInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsACatchSwitchInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsACallBrInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsACallBrInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAFuncletPadInst", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsAFuncletPadInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); @@ -980,6 +992,22 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsAVAArgInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAFreezeInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsAFreezeInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAAtomicCmpXchgInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsAAtomicCmpXchgInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAAtomicRMWInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsAAtomicRMWInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAFenceInst", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* IsAFenceInst([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMIsAMDNode", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* IsAMDNode([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); @@ -2422,12 +2450,25 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetVolatile", ExactSpelling = true)] public static extern void SetVolatile([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* MemoryAccessInst, [NativeTypeName("LLVMBool")] int IsVolatile); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetWeak", ExactSpelling = true)] + [return: NativeTypeName("LLVMBool")] + public static extern int GetWeak([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* CmpXchgInst); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetWeak", ExactSpelling = true)] + public static extern void SetWeak([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* CmpXchgInst, [NativeTypeName("LLVMBool")] int IsWeak); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetOrdering", ExactSpelling = true)] public static extern LLVMAtomicOrdering GetOrdering([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* MemoryAccessInst); [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetOrdering", ExactSpelling = true)] public static extern void SetOrdering([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* MemoryAccessInst, LLVMAtomicOrdering Ordering); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetAtomicRMWBinOp", ExactSpelling = true)] + public static extern LLVMAtomicRMWBinOp GetAtomicRMWBinOp([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* AtomicRMWInst); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetAtomicRMWBinOp", ExactSpelling = true)] + public static extern void SetAtomicRMWBinOp([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* AtomicRMWInst, LLVMAtomicRMWBinOp BinOp); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildTrunc", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildTrunc([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* DestTy, [NativeTypeName("const char *")] sbyte* Name); @@ -2560,6 +2601,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildInsertValue([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* AggVal, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* EltVal, [NativeTypeName("unsigned int")] uint Index, [NativeTypeName("const char *")] sbyte* Name); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildFreeze", ExactSpelling = true)] + [return: NativeTypeName("LLVMValueRef")] + public static extern LLVMOpaqueValue* BuildFreeze([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val, [NativeTypeName("const char *")] sbyte* Name); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildIsNull", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildIsNull([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val, [NativeTypeName("const char *")] sbyte* Name); @@ -2719,7 +2764,7 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateModule", ExactSpelling = true)] [return: NativeTypeName("LLVMMetadataRef")] - public static extern LLVMOpaqueMetadata* DIBuilderCreateModule([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* ParentScope, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("const char *")] sbyte* ConfigMacros, [NativeTypeName("size_t")] UIntPtr ConfigMacrosLen, [NativeTypeName("const char *")] sbyte* IncludePath, [NativeTypeName("size_t")] UIntPtr IncludePathLen, [NativeTypeName("const char *")] sbyte* ISysRoot, [NativeTypeName("size_t")] UIntPtr ISysRootLen); + public static extern LLVMOpaqueMetadata* DIBuilderCreateModule([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* ParentScope, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("const char *")] sbyte* ConfigMacros, [NativeTypeName("size_t")] UIntPtr ConfigMacrosLen, [NativeTypeName("const char *")] sbyte* IncludePath, [NativeTypeName("size_t")] UIntPtr IncludePathLen, [NativeTypeName("const char *")] sbyte* SysRoot, [NativeTypeName("size_t")] UIntPtr SysRootLen); [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateNameSpace", ExactSpelling = true)] [return: NativeTypeName("LLVMMetadataRef")] @@ -2797,6 +2842,14 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMMetadataRef")] public static extern LLVMOpaqueMetadata* DIBuilderCreateSubroutineType([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* File, [NativeTypeName("LLVMMetadataRef *")] LLVMOpaqueMetadata** ParameterTypes, [NativeTypeName("unsigned int")] uint NumParameterTypes, LLVMDIFlags Flags); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateMacro", ExactSpelling = true)] + [return: NativeTypeName("LLVMMetadataRef")] + public static extern LLVMOpaqueMetadata* DIBuilderCreateMacro([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* ParentMacroFile, [NativeTypeName("unsigned int")] uint Line, LLVMDWARFMacinfoRecordType RecordType, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("const char *")] sbyte* Value, [NativeTypeName("size_t")] UIntPtr ValueLen); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateTempMacroFile", ExactSpelling = true)] + [return: NativeTypeName("LLVMMetadataRef")] + public static extern LLVMOpaqueMetadata* DIBuilderCreateTempMacroFile([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* ParentMacroFile, [NativeTypeName("unsigned int")] uint Line, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* File); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateEnumerator", ExactSpelling = true)] [return: NativeTypeName("LLVMMetadataRef")] public static extern LLVMOpaqueMetadata* DIBuilderCreateEnumerator([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("int64_t")] long Value, [NativeTypeName("LLVMBool")] int IsUnsigned); @@ -2871,7 +2924,7 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateTypedef", ExactSpelling = true)] [return: NativeTypeName("LLVMMetadataRef")] - public static extern LLVMOpaqueMetadata* DIBuilderCreateTypedef([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* Type, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* File, [NativeTypeName("unsigned int")] uint LineNo, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* Scope); + public static extern LLVMOpaqueMetadata* DIBuilderCreateTypedef([NativeTypeName("LLVMDIBuilderRef")] LLVMOpaqueDIBuilder* Builder, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* Type, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("size_t")] UIntPtr NameLen, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* File, [NativeTypeName("unsigned int")] uint LineNo, [NativeTypeName("LLVMMetadataRef")] LLVMOpaqueMetadata* Scope, [NativeTypeName("uint32_t")] uint AlignInBits); [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMDIBuilderCreateInheritance", ExactSpelling = true)] [return: NativeTypeName("LLVMMetadataRef")] @@ -3412,6 +3465,9 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_codegen_debug_options", ExactSpelling = true)] public static extern void lto_codegen_debug_options([NativeTypeName("lto_code_gen_t")] LLVMOpaqueLTOCodeGenerator* cg, [NativeTypeName("const char *")] sbyte* param1); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_codegen_debug_options_array", ExactSpelling = true)] + public static extern void lto_codegen_debug_options_array([NativeTypeName("lto_code_gen_t")] LLVMOpaqueLTOCodeGenerator* cg, [NativeTypeName("const char *const *")] sbyte** param1, int number); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_initialize_disassembler", ExactSpelling = true)] public static extern void lto_initialize_disassembler(); @@ -3421,6 +3477,25 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_codegen_set_should_embed_uselists", ExactSpelling = true)] public static extern void lto_codegen_set_should_embed_uselists([NativeTypeName("lto_code_gen_t")] LLVMOpaqueLTOCodeGenerator* cg, [NativeTypeName("lto_bool_t")] bool ShouldEmbedUselists); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_create", ExactSpelling = true)] + [return: NativeTypeName("lto_input_t")] + public static extern LLVMOpaqueLTOInput* lto_input_create([NativeTypeName("const void *")] void* buffer, [NativeTypeName("size_t")] UIntPtr buffer_size, [NativeTypeName("const char *")] sbyte* path); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_dispose", ExactSpelling = true)] + public static extern void lto_input_dispose([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_get_num_dependent_libraries", ExactSpelling = true)] + [return: NativeTypeName("unsigned int")] + public static extern uint lto_input_get_num_dependent_libraries([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_get_dependent_library", ExactSpelling = true)] + [return: NativeTypeName("const char *")] + public static extern sbyte* lto_input_get_dependent_library([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input, [NativeTypeName("size_t")] UIntPtr index, [NativeTypeName("size_t *")] UIntPtr* size); + + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_runtime_lib_symbols_list", ExactSpelling = true)] + [return: NativeTypeName("const char *const *")] + public static extern sbyte** lto_runtime_lib_symbols_list([NativeTypeName("size_t *")] UIntPtr* size); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "thinlto_create_codegen", ExactSpelling = true)] [return: NativeTypeName("thinlto_code_gen_t")] public static extern LLVMOpaqueThinLTOCodeGenerator* thinlto_create_codegen(); @@ -3502,21 +3577,6 @@ public static unsafe partial class LLVM [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "thinlto_codegen_set_cache_size_files", 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); - [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_create", ExactSpelling = true)] - [return: NativeTypeName("lto_input_t")] - public static extern LLVMOpaqueLTOInput* lto_input_create([NativeTypeName("const void *")] void* buffer, [NativeTypeName("size_t")] UIntPtr buffer_size, [NativeTypeName("const char *")] sbyte* path); - - [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_dispose", ExactSpelling = true)] - public static extern void lto_input_dispose([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input); - - [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_get_num_dependent_libraries", ExactSpelling = true)] - [return: NativeTypeName("unsigned int")] - public static extern uint lto_input_get_num_dependent_libraries([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input); - - [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "lto_input_get_dependent_library", ExactSpelling = true)] - [return: NativeTypeName("const char *")] - public static extern sbyte* lto_input_get_dependent_library([NativeTypeName("lto_input_t")] LLVMOpaqueLTOInput* input, [NativeTypeName("size_t")] UIntPtr index, [NativeTypeName("size_t *")] UIntPtr* size); - [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreateBinary", ExactSpelling = true)] [return: NativeTypeName("LLVMBinaryRef")] public static extern LLVMOpaqueBinary* CreateBinary([NativeTypeName("LLVMMemoryBufferRef")] LLVMOpaqueMemoryBuffer* MemBuf, [NativeTypeName("LLVMContextRef")] LLVMOpaqueContext* Context, [NativeTypeName("char **")] sbyte** ErrorMessage); @@ -3790,6 +3850,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMRemarkParserRef")] public static extern LLVMRemarkOpaqueParser* RemarkParserCreateYAML([NativeTypeName("const void *")] void* Buf, [NativeTypeName("uint64_t")] ulong Size); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMRemarkParserCreateBitstream", ExactSpelling = true)] + [return: NativeTypeName("LLVMRemarkParserRef")] + public static extern LLVMRemarkOpaqueParser* RemarkParserCreateBitstream([NativeTypeName("const void *")] void* Buf, [NativeTypeName("uint64_t")] ulong Size); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMRemarkParserGetNext", ExactSpelling = true)] [return: NativeTypeName("LLVMRemarkEntryRef")] public static extern LLVMRemarkOpaqueEntry* RemarkParserGetNext([NativeTypeName("LLVMRemarkParserRef")] LLVMRemarkOpaqueParser* Parser); @@ -4451,6 +4515,9 @@ public static int InitializeNativeDisassembler() [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddConstantMergePass", ExactSpelling = true)] public static extern void AddConstantMergePass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddMergeFunctionsPass", ExactSpelling = true)] + public static extern void AddMergeFunctionsPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddCalledValuePropagationPass", ExactSpelling = true)] public static extern void AddCalledValuePropagationPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); @@ -4484,6 +4551,9 @@ public static int InitializeNativeDisassembler() [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddInternalizePass", ExactSpelling = true)] public static extern void AddInternalizePass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* param0, [NativeTypeName("unsigned int")] uint AllButMain); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddInternalizePassWithMustPreservePredicate", ExactSpelling = true)] + public static extern void AddInternalizePassWithMustPreservePredicate([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM, [NativeTypeName("void *")] void* Context, [NativeTypeName("LLVMBool (*)(LLVMValueRef, void *)")] IntPtr MustPreserve); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddStripDeadPrototypesPass", ExactSpelling = true)] public static extern void AddStripDeadPrototypesPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); @@ -4527,6 +4597,9 @@ public static int InitializeNativeDisassembler() [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddAggressiveDCEPass", ExactSpelling = true)] public static extern void AddAggressiveDCEPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddDCEPass", ExactSpelling = true)] + public static extern void AddDCEPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddBitTrackingDCEPass", ExactSpelling = true)] public static extern void AddBitTrackingDCEPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); @@ -4632,6 +4705,9 @@ public static int InitializeNativeDisassembler() [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddLowerExpectIntrinsicPass", ExactSpelling = true)] public static extern void AddLowerExpectIntrinsicPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddLowerConstantIntrinsicsPass", ExactSpelling = true)] + public static extern void AddLowerConstantIntrinsicsPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); + [DllImport(LibraryPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddTypeBasedAliasAnalysisPass", ExactSpelling = true)] public static extern void AddTypeBasedAliasAnalysisPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); diff --git a/sources/LLVMSharp/Interop/LLVMAtomicOrdering.cs b/sources/LLVMSharp/Interop/LLVMAtomicOrdering.cs index 8839245a..eddf422f 100644 --- a/sources/LLVMSharp/Interop/LLVMAtomicOrdering.cs +++ b/sources/LLVMSharp/Interop/LLVMAtomicOrdering.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 d145a891..ff54bc47 100644 --- a/sources/LLVMSharp/Interop/LLVMAtomicRMWBinOp.cs +++ b/sources/LLVMSharp/Interop/LLVMAtomicRMWBinOp.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 @@ -18,5 +18,7 @@ public enum LLVMAtomicRMWBinOp LLVMAtomicRMWBinOpMin, LLVMAtomicRMWBinOpUMax, LLVMAtomicRMWBinOpUMin, + LLVMAtomicRMWBinOpFAdd, + LLVMAtomicRMWBinOpFSub, } } diff --git a/sources/LLVMSharp/Interop/LLVMAttributeIndex.cs b/sources/LLVMSharp/Interop/LLVMAttributeIndex.cs index 8abaf819..501e7b63 100644 --- a/sources/LLVMSharp/Interop/LLVMAttributeIndex.cs +++ b/sources/LLVMSharp/Interop/LLVMAttributeIndex.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8306dd5a..6354c9a4 100644 --- a/sources/LLVMSharp/Interop/LLVMBinaryType.cs +++ b/sources/LLVMSharp/Interop/LLVMBinaryType.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 7ac6e17a..14765199 100644 --- a/sources/LLVMSharp/Interop/LLVMByteOrdering.cs +++ b/sources/LLVMSharp/Interop/LLVMByteOrdering.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 a44075f6..da9b206f 100644 --- a/sources/LLVMSharp/Interop/LLVMCallConv.cs +++ b/sources/LLVMSharp/Interop/LLVMCallConv.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 abee8134..1b1e9ecc 100644 --- a/sources/LLVMSharp/Interop/LLVMCodeGenFileType.cs +++ b/sources/LLVMSharp/Interop/LLVMCodeGenFileType.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 d78af9b8..8eb98cd1 100644 --- a/sources/LLVMSharp/Interop/LLVMCodeGenOptLevel.cs +++ b/sources/LLVMSharp/Interop/LLVMCodeGenOptLevel.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 7d7d4613..874baba4 100644 --- a/sources/LLVMSharp/Interop/LLVMCodeModel.cs +++ b/sources/LLVMSharp/Interop/LLVMCodeModel.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 789a182f..b9b29bcb 100644 --- a/sources/LLVMSharp/Interop/LLVMComdat.cs +++ b/sources/LLVMSharp/Interop/LLVMComdat.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 910d11e7..2ebca29c 100644 --- a/sources/LLVMSharp/Interop/LLVMComdatSelectionKind.cs +++ b/sources/LLVMSharp/Interop/LLVMComdatSelectionKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMDIFlags.cs b/sources/LLVMSharp/Interop/LLVMDIFlags.cs index 8de0a15f..3b2cd4c4 100644 --- a/sources/LLVMSharp/Interop/LLVMDIFlags.cs +++ b/sources/LLVMSharp/Interop/LLVMDIFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 @@ -13,7 +13,7 @@ public enum LLVMDIFlags LLVMDIFlagPublic = 3, LLVMDIFlagFwdDecl = 1 << 2, LLVMDIFlagAppleBlock = 1 << 3, - LLVMDIFlagBlockByrefStruct = 1 << 4, + LLVMDIFlagReservedBit4 = 1 << 4, LLVMDIFlagVirtual = 1 << 5, LLVMDIFlagArtificial = 1 << 6, LLVMDIFlagExplicit = 1 << 7, diff --git a/sources/LLVMSharp/Interop/LLVMDLLStorageClass.cs b/sources/LLVMSharp/Interop/LLVMDLLStorageClass.cs index b3af7cf4..54aacb08 100644 --- a/sources/LLVMSharp/Interop/LLVMDLLStorageClass.cs +++ b/sources/LLVMSharp/Interop/LLVMDLLStorageClass.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 141d374d..32795ef6 100644 --- a/sources/LLVMSharp/Interop/LLVMDWARFEmissionKind.cs +++ b/sources/LLVMSharp/Interop/LLVMDWARFEmissionKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 new file mode 100644 index 00000000..dca8b572 --- /dev/null +++ b/sources/LLVMSharp/Interop/LLVMDWARFMacinfoRecordType.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. + +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 enum LLVMDWARFMacinfoRecordType + { + LLVMDWARFMacinfoRecordTypeDefine = 0x01, + LLVMDWARFMacinfoRecordTypeMacro = 0x02, + LLVMDWARFMacinfoRecordTypeStartFile = 0x03, + LLVMDWARFMacinfoRecordTypeEndFile = 0x04, + LLVMDWARFMacinfoRecordTypeVendorExt = 0xff, + } +} diff --git a/sources/LLVMSharp/Interop/LLVMDWARFSourceLanguage.cs b/sources/LLVMSharp/Interop/LLVMDWARFSourceLanguage.cs index b326d2b8..f2eb8057 100644 --- a/sources/LLVMSharp/Interop/LLVMDWARFSourceLanguage.cs +++ b/sources/LLVMSharp/Interop/LLVMDWARFSourceLanguage.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 dbf08c04..176fc3f9 100644 --- a/sources/LLVMSharp/Interop/LLVMDiagnosticHandler.cs +++ b/sources/LLVMSharp/Interop/LLVMDiagnosticHandler.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 3565938c..7d961142 100644 --- a/sources/LLVMSharp/Interop/LLVMDiagnosticSeverity.cs +++ b/sources/LLVMSharp/Interop/LLVMDiagnosticSeverity.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 1696efbf..7e1a2bd4 100644 --- a/sources/LLVMSharp/Interop/LLVMFatalErrorHandler.cs +++ b/sources/LLVMSharp/Interop/LLVMFatalErrorHandler.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 329d5b1b..089cb7d7 100644 --- a/sources/LLVMSharp/Interop/LLVMInlineAsmDialect.cs +++ b/sources/LLVMSharp/Interop/LLVMInlineAsmDialect.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 ea5e3468..f7a5e62f 100644 --- a/sources/LLVMSharp/Interop/LLVMIntPredicate.cs +++ b/sources/LLVMSharp/Interop/LLVMIntPredicate.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMLandingPadClauseTy.cs b/sources/LLVMSharp/Interop/LLVMLandingPadClauseTy.cs index 0e4d286d..00367b92 100644 --- a/sources/LLVMSharp/Interop/LLVMLandingPadClauseTy.cs +++ b/sources/LLVMSharp/Interop/LLVMLandingPadClauseTy.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 e44994b8..d9e36e0c 100644 --- a/sources/LLVMSharp/Interop/LLVMLinkage.cs +++ b/sources/LLVMSharp/Interop/LLVMLinkage.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 89a74af0..a0c7d35b 100644 --- a/sources/LLVMSharp/Interop/LLVMLinkerMode.cs +++ b/sources/LLVMSharp/Interop/LLVMLinkerMode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 71a3a802..28ec42d8 100644 --- a/sources/LLVMSharp/Interop/LLVMMCJITCompilerOptions.cs +++ b/sources/LLVMSharp/Interop/LLVMMCJITCompilerOptions.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 a0e1cdc8..69f56802 100644 --- a/sources/LLVMSharp/Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMMemoryManagerAllocateCodeSectionCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 ab203790..4f3758c4 100644 --- a/sources/LLVMSharp/Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMMemoryManagerAllocateDataSectionCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 7f689431..f0e47d6a 100644 --- a/sources/LLVMSharp/Interop/LLVMMemoryManagerDestroyCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMMemoryManagerDestroyCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 811f8797..1994041d 100644 --- a/sources/LLVMSharp/Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMMemoryManagerFinalizeMemoryCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMMetadataKind.cs b/sources/LLVMSharp/Interop/LLVMMetadataKind.cs index 3b308b3c..820c9042 100644 --- a/sources/LLVMSharp/Interop/LLVMMetadataKind.cs +++ b/sources/LLVMSharp/Interop/LLVMMetadataKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMModuleFlagBehavior.cs b/sources/LLVMSharp/Interop/LLVMModuleFlagBehavior.cs index 39de772a..894aff38 100644 --- a/sources/LLVMSharp/Interop/LLVMModuleFlagBehavior.cs +++ b/sources/LLVMSharp/Interop/LLVMModuleFlagBehavior.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 f153da2b..41a3ad0a 100644 --- a/sources/LLVMSharp/Interop/LLVMOpInfo1.cs +++ b/sources/LLVMSharp/Interop/LLVMOpInfo1.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 e9460d04..5bd6d1b6 100644 --- a/sources/LLVMSharp/Interop/LLVMOpInfoCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMOpInfoCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 3558ac44..6c00fbd7 100644 --- a/sources/LLVMSharp/Interop/LLVMOpInfoSymbol1.cs +++ b/sources/LLVMSharp/Interop/LLVMOpInfoSymbol1.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8a15f823..5def7388 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueAttributeRef.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueAttributeRef.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 7880da72..b8927a06 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueBasicBlock.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueBasicBlock.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 9655b04b..636b04b7 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueBinary.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueBinary.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 6e31de23..1e78f313 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueBuilder.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 b56788ea..8b8ef075 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueContext.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueContext.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 153c163a..722dca17 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueDIBuilder.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueDIBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 912bccf4..bc0f7fda 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueDiagnosticInfo.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueDiagnosticInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 5afba0e0..8772524e 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueError.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueError.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 3d547894..a3ff5804 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueExecutionEngine.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueExecutionEngine.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 14246d19..1eb818c9 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueGenericValue.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueGenericValue.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 cfd76f3a..8c26b2a5 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueJITEventListener.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueJITEventListener.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 a5ebb9d6..ea244f1f 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueLTOCodeGenerator.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueLTOCodeGenerator.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 e6ab6eb6..21dca432 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueLTOInput.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueLTOInput.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 249d9dee..5749dfd1 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueLTOModule.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueLTOModule.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 e64f5882..96024f50 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueMCJITMemoryManager.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueMCJITMemoryManager.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 4763e6ca..26c0a0bc 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueMemoryBuffer.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueMemoryBuffer.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 d20d5ac4..785696af 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueMetadata.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueMetadata.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 92f655d9..c948a39a 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueModule.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueModule.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 905c2737..6c81fbb3 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueModuleFlagEntry.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueModuleFlagEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 64944142..cf4891bb 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueModuleProvider.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueModuleProvider.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 dbeaec93..3b7b6190 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueNamedMDNode.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueNamedMDNode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 be3c6b58..f770c580 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueObjectFile.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueObjectFile.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMOpaquePassManager.cs b/sources/LLVMSharp/Interop/LLVMOpaquePassManager.cs index 14fc27ba..6f4dab9c 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaquePassManager.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaquePassManager.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8932e1e2..ec610419 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaquePassManagerBuilder.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaquePassManagerBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 28a5ee41..fff62183 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaquePassRegistry.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaquePassRegistry.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 d92ad7c1..cf0518f0 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueRelocationIterator.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueRelocationIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 2ab1851b..753c311a 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueSectionIterator.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueSectionIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 b4f01960..9d4f9f3c 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueSymbolIterator.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueSymbolIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 1de22ba4..da6b769c 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueTargetData.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueTargetData.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 bc709db1..7d7c6aab 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueTargetLibraryInfotData.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueTargetLibraryInfotData.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 4c7ccbc8..f19a7790 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueTargetMachine.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueTargetMachine.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 a6301bf5..f6b5191f 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueThinLTOCodeGenerator.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueThinLTOCodeGenerator.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 1eb84e6d..e232f47c 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueType.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueType.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 0ba37285..b4c9801c 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueUse.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueUse.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 5ad88595..1f79ba74 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueValue.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueValue.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 9a2f675f..5b578cae 100644 --- a/sources/LLVMSharp/Interop/LLVMOpaqueValueMetadataEntry.cs +++ b/sources/LLVMSharp/Interop/LLVMOpaqueValueMetadataEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 fe5a7efc..936a3a8a 100644 --- a/sources/LLVMSharp/Interop/LLVMOpcode.cs +++ b/sources/LLVMSharp/Interop/LLVMOpcode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 @@ -63,6 +63,7 @@ public enum LLVMOpcode LLVMShuffleVector = 52, LLVMExtractValue = 53, LLVMInsertValue = 54, + LLVMFreeze = 68, LLVMFence = 55, LLVMAtomicCmpXchg = 56, LLVMAtomicRMW = 57, diff --git a/sources/LLVMSharp/Interop/LLVMOrcLazyCompileCallbackFn.cs b/sources/LLVMSharp/Interop/LLVMOrcLazyCompileCallbackFn.cs index dfd0a480..a400bc2c 100644 --- a/sources/LLVMSharp/Interop/LLVMOrcLazyCompileCallbackFn.cs +++ b/sources/LLVMSharp/Interop/LLVMOrcLazyCompileCallbackFn.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMOrcOpaqueJITStack.cs b/sources/LLVMSharp/Interop/LLVMOrcOpaqueJITStack.cs index d092d234..42636af3 100644 --- a/sources/LLVMSharp/Interop/LLVMOrcOpaqueJITStack.cs +++ b/sources/LLVMSharp/Interop/LLVMOrcOpaqueJITStack.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMOrcSymbolResolverFn.cs b/sources/LLVMSharp/Interop/LLVMOrcSymbolResolverFn.cs index 2fb5f3bb..8966e8ca 100644 --- a/sources/LLVMSharp/Interop/LLVMOrcSymbolResolverFn.cs +++ b/sources/LLVMSharp/Interop/LLVMOrcSymbolResolverFn.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 6277445c..810d9a20 100644 --- a/sources/LLVMSharp/Interop/LLVMRealPredicate.cs +++ b/sources/LLVMSharp/Interop/LLVMRealPredicate.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 c833fccc..383b7951 100644 --- a/sources/LLVMSharp/Interop/LLVMRelocMode.cs +++ b/sources/LLVMSharp/Interop/LLVMRelocMode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 1166df10..df322518 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkOpaqueArg.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkOpaqueArg.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 00ad35f9..cdb06f73 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkOpaqueDebugLoc.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkOpaqueDebugLoc.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 016940da..c827445f 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkOpaqueEntry.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkOpaqueEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 29bdd409..c12b2840 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkOpaqueParser.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkOpaqueParser.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 245a7775..0537c3a2 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkOpaqueString.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkOpaqueString.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 30fe8b54..c4923861 100644 --- a/sources/LLVMSharp/Interop/LLVMRemarkType.cs +++ b/sources/LLVMSharp/Interop/LLVMRemarkType.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/LLVMSymbolLookupCallback.cs b/sources/LLVMSharp/Interop/LLVMSymbolLookupCallback.cs index 4949662e..bef548a1 100644 --- a/sources/LLVMSharp/Interop/LLVMSymbolLookupCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMSymbolLookupCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 5941c0c0..3b8b30b5 100644 --- a/sources/LLVMSharp/Interop/LLVMTarget.cs +++ b/sources/LLVMSharp/Interop/LLVMTarget.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8c612a10..205881dc 100644 --- a/sources/LLVMSharp/Interop/LLVMThreadLocalMode.cs +++ b/sources/LLVMSharp/Interop/LLVMThreadLocalMode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 894bcd8b..d5a2c411 100644 --- a/sources/LLVMSharp/Interop/LLVMTypeKind.cs +++ b/sources/LLVMSharp/Interop/LLVMTypeKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 2f2a92ef..53a5218c 100644 --- a/sources/LLVMSharp/Interop/LLVMUnnamedAddr.cs +++ b/sources/LLVMSharp/Interop/LLVMUnnamedAddr.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 b2a97de2..fe699d76 100644 --- a/sources/LLVMSharp/Interop/LLVMValueKind.cs +++ b/sources/LLVMSharp/Interop/LLVMValueKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 63f3de5a..4c391425 100644 --- a/sources/LLVMSharp/Interop/LLVMVerifierFailureAction.cs +++ b/sources/LLVMSharp/Interop/LLVMVerifierFailureAction.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 6ba04e29..e8722a6a 100644 --- a/sources/LLVMSharp/Interop/LLVMVisibility.cs +++ b/sources/LLVMSharp/Interop/LLVMVisibility.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 57b9fbdc..a5b8a1b9 100644 --- a/sources/LLVMSharp/Interop/LLVMYieldCallback.cs +++ b/sources/LLVMSharp/Interop/LLVMYieldCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8b56dfc5..5623a959 100644 --- a/sources/LLVMSharp/Interop/LTOObjectBuffer.cs +++ b/sources/LLVMSharp/Interop/LTOObjectBuffer.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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/llvm_lto_status.cs b/sources/LLVMSharp/Interop/llvm_lto_status.cs index d2be57e9..904d8af5 100644 --- a/sources/LLVMSharp/Interop/llvm_lto_status.cs +++ b/sources/LLVMSharp/Interop/llvm_lto_status.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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_diagnostic_severity_t.cs b/sources/LLVMSharp/Interop/lto_codegen_diagnostic_severity_t.cs index b6eb6bba..f84bcbd9 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) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 df9d862b..f0eaa323 100644 --- a/sources/LLVMSharp/Interop/lto_codegen_model.cs +++ b/sources/LLVMSharp/Interop/lto_codegen_model.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 587b93aa..5851bd76 100644 --- a/sources/LLVMSharp/Interop/lto_debug_model.cs +++ b/sources/LLVMSharp/Interop/lto_debug_model.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 823660c2..8cbed36c 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) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 2c9ce129..bb2903d0 100644 --- a/sources/LLVMSharp/Interop/lto_symbol_attributes.cs +++ b/sources/LLVMSharp/Interop/lto_symbol_attributes.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-9.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-10.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 8be90add..1bbdb844 100644 --- a/sources/LLVMSharp/LLVMSharp.csproj +++ b/sources/LLVMSharp/LLVMSharp.csproj @@ -3,7 +3,7 @@ false - netstandard2.0 + netcoreapp3.1;netstandard2.0 diff --git a/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj b/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj index 9a5b8f7f..e7f9940a 100644 --- a/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj +++ b/tests/LLVMSharp.UnitTests/LLVMSharp.UnitTests.csproj @@ -2,7 +2,7 @@ - netcoreapp2.1 + netcoreapp3.1