From edea8dd2414e66db1221bee7ad13d0ce601a1a58 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:00:59 -0700 Subject: [PATCH 1/7] Remove distro specific packages --- LLVMSharp.sln | 30 ------------------- .../libLLVM.runtime.freebsd.12-x64.nuspec | 19 ------------ .../libLLVM.runtime.freebsd.13-x64.nuspec | 19 ------------ .../libLLVM.runtime.ubuntu.18.04-x64.nuspec | 19 ------------ .../libLLVM.runtime.ubuntu.20.04-x64.nuspec | 19 ------------ .../libLLVM.runtime.ubuntu.22.04-x64.nuspec | 19 ------------ packages/libLLVM/libLLVM/runtime.json | 25 ---------------- 7 files changed, 150 deletions(-) delete mode 100644 packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec delete mode 100644 packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec delete mode 100644 packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec delete mode 100644 packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec delete mode 100644 packages/libLLVM/libLLVM.runtime.ubuntu.22.04-x64/libLLVM.runtime.ubuntu.22.04-x64.nuspec diff --git a/LLVMSharp.sln b/LLVMSharp.sln index 5970d16..dd175a6 100644 --- a/LLVMSharp.sln +++ b/LLVMSharp.sln @@ -64,11 +64,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM", "libLLVM", "{568A packages\libLLVM\libLLVM\runtime.json = packages\libLLVM\libLLVM\runtime.json EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.12-x64", "libLLVM.runtime.freebsd.12-x64", "{7B8F6AD5-F16F-4605-BD50-6C4DAD69C792}" - ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.freebsd.12-x64\libLLVM.runtime.freebsd.12-x64.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.12-x64\libLLVM.runtime.freebsd.12-x64.nuspec - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.linux-arm64", "libLLVM.runtime.linux-arm64", "{16539CB8-8AC7-4AD0-9D54-8EE615B2FCF3}" ProjectSection(SolutionItems) = preProject packages\libLLVM\libLLVM.runtime.linux-arm64\libLLVM.runtime.linux-arm64.nuspec = packages\libLLVM\libLLVM.runtime.linux-arm64\libLLVM.runtime.linux-arm64.nuspec @@ -79,16 +74,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.osx-x64", " packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec = packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.18.04-x64", "libLLVM.runtime.ubuntu.18.04-x64", "{481409E0-F009-4583-B587-7D6915E9B16E}" - ProjectSection(SolutionItems) = preProject - 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 @@ -99,11 +84,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-x86", " packages\libLLVM\libLLVM.runtime.win-x86\libLLVM.runtime.win-x86.nuspec = packages\libLLVM\libLLVM.runtime.win-x86\libLLVM.runtime.win-x86.nuspec EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.22.04-x64", "libLLVM.runtime.ubuntu.22.04-x64", "{1808D302-0067-4121-964C-2CBAFB8A957A}" - ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.ubuntu.22.04-x64\libLLVM.runtime.ubuntu.22.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.22.04-x64\libLLVM.runtime.ubuntu.22.04-x64.nuspec - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-arm64", "libLLVM.runtime.win-arm64", "{19DB05E9-59B6-45E9-B47D-62913F7DF9A8}" ProjectSection(SolutionItems) = preProject packages\libLLVM\libLLVM.runtime.win-arm64\libLLVM.runtime.win-arm64.nuspec = packages\libLLVM\libLLVM.runtime.win-arm64\libLLVM.runtime.win-arm64.nuspec @@ -118,11 +98,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ .github\workflows\ci.yml = .github\workflows\ci.yml EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.freebsd.13-x64", "libLLVM.runtime.freebsd.13-x64", "{4F526018-55AE-41FF-BF01-21F60EB95CBC}" - ProjectSection(SolutionItems) = preProject - packages\libLLVM\libLLVM.runtime.freebsd.13-x64\libLLVM.runtime.freebsd.13-x64.nuspec = packages\libLLVM\libLLVM.runtime.freebsd.13-x64\libLLVM.runtime.freebsd.13-x64.nuspec - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.linux-x64", "libLLVM.runtime.linux-x64", "{C8508256-2EC1-4C88-B61D-AFB86569FBCD}" ProjectSection(SolutionItems) = preProject packages\libLLVM\libLLVM.runtime.linux-x64\libLLVM.runtime.linux-x64.nuspec = packages\libLLVM\libLLVM.runtime.linux-x64\libLLVM.runtime.linux-x64.nuspec @@ -160,18 +135,13 @@ Global {293C5F55-2CB1-4398-946B-8AD8E37D7FEE} = {5E2DA015-A829-4304-9B2F-B868ECB77A95} {9D46FF1C-E09F-4063-A97D-C09F26310B67} = {CD611531-75EA-4328-8C25-8D0496E61EC2} {568A07AC-AF60-4A3E-ABD3-2B51D9DD4EBF} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} - {7B8F6AD5-F16F-4605-BD50-6C4DAD69C792} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {16539CB8-8AC7-4AD0-9D54-8EE615B2FCF3} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {D4550E5E-9485-4480-B2B6-9503EEC935BF} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} - {481409E0-F009-4583-B587-7D6915E9B16E} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} - {DC151BEE-774F-4032-8D2F-F3360F7F4D82} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {E785DDD0-B9CD-4412-8A3C-4E65C601168C} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {540AB7F4-29FD-462A-8791-259764FD4950} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} - {1808D302-0067-4121-964C-2CBAFB8A957A} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {19DB05E9-59B6-45E9-B47D-62913F7DF9A8} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6} = {62B5C536-C224-4EE1-972F-05F732B5980B} {706334B8-BB91-49A4-BC9C-DFFDF3DCD770} = {E8ADE5A7-4363-43B7-B104-6B0E5510CAF0} - {4F526018-55AE-41FF-BF01-21F60EB95CBC} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {C8508256-2EC1-4C88-B61D-AFB86569FBCD} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} {3870145D-F6DC-4082-A3F5-2316D49ADD43} = {9D46FF1C-E09F-4063-A97D-C09F26310B67} EndGlobalSection diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec deleted file mode 100644 index f946a36..0000000 --- a/packages/libLLVM/libLLVM.runtime.freebsd.12-x64/libLLVM.runtime.freebsd.12-x64.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - libLLVM.runtime.freebsd.12-x64 - 15.0.0 - .NET Foundation and Contributors - .NET Foundation and Contributors - true - Apache-2.0 WITH LLVM-exception - https://github.com/dotnet/llvmsharp - freebsd 12 x64 native library for libLLVM. - Copyright © LLVM Project - - - - - - - diff --git a/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec b/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec deleted file mode 100644 index 9daec78..0000000 --- a/packages/libLLVM/libLLVM.runtime.freebsd.13-x64/libLLVM.runtime.freebsd.13-x64.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - libLLVM.runtime.freebsd.13-x64 - 15.0.0 - .NET Foundation and Contributors - .NET Foundation and Contributors - true - Apache-2.0 WITH LLVM-exception - https://github.com/dotnet/llvmsharp - freebsd 13 x64 native library for libLLVM. - Copyright © LLVM Project - - - - - - - diff --git a/packages/libLLVM/libLLVM.runtime.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 deleted file mode 100644 index e2bdcc7..0000000 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.18.04-x64/libLLVM.runtime.ubuntu.18.04-x64.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - libLLVM.runtime.ubuntu.18.04-x64 - 15.0.0 - .NET Foundation and Contributors - .NET Foundation and Contributors - true - Apache-2.0 WITH LLVM-exception - https://github.com/dotnet/llvmsharp - ubuntu 18.04 x64 native library for libLLVM. - Copyright © LLVM Project - - - - - - - diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec deleted file mode 100644 index 96ec91b..0000000 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.20.04-x64/libLLVM.runtime.ubuntu.20.04-x64.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - libLLVM.runtime.ubuntu.20.04-x64 - 15.0.0 - .NET Foundation and Contributors - .NET Foundation and Contributors - true - Apache-2.0 WITH LLVM-exception - https://github.com/dotnet/llvmsharp - ubuntu 20.04 x64 native library for libLLVM. - Copyright © LLVM Project - - - - - - - diff --git a/packages/libLLVM/libLLVM.runtime.ubuntu.22.04-x64/libLLVM.runtime.ubuntu.22.04-x64.nuspec b/packages/libLLVM/libLLVM.runtime.ubuntu.22.04-x64/libLLVM.runtime.ubuntu.22.04-x64.nuspec deleted file mode 100644 index 35aa51d..0000000 --- a/packages/libLLVM/libLLVM.runtime.ubuntu.22.04-x64/libLLVM.runtime.ubuntu.22.04-x64.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - libLLVM.runtime.ubuntu.22.04-x64 - 15.0.0 - .NET Foundation and Contributors - .NET Foundation and Contributors - true - Apache-2.0 WITH LLVM-exception - https://github.com/dotnet/llvmsharp - ubuntu 22.04 x64 native library for libLLVM. - Copyright © LLVM Project - - - - - - - diff --git a/packages/libLLVM/libLLVM/runtime.json b/packages/libLLVM/libLLVM/runtime.json index 07d289c..74b2464 100644 --- a/packages/libLLVM/libLLVM/runtime.json +++ b/packages/libLLVM/libLLVM/runtime.json @@ -1,15 +1,5 @@ { "runtimes": { - "freebsd.12-x64": { - "libLLVM": { - "libLLVM.runtime.freebsd.12-x64": "15.0.0" - } - }, - "freebsd.13-x64": { - "libLLVM": { - "libLLVM.runtime.freebsd.13-x64": "15.0.0" - } - }, "linux-arm64": { "libLLVM": { "libLLVM.runtime.linux-arm64": "15.0.0" @@ -30,21 +20,6 @@ "libLLVM.runtime.osx-x64": "15.0.0" } }, - "ubuntu.18.04-x64": { - "libLLVM": { - "libLLVM.runtime.ubuntu.18.04-x64": "15.0.0" - } - }, - "ubuntu.20.04-x64": { - "libLLVM": { - "libLLVM.runtime.ubuntu.20.04-x64": "15.0.0" - } - }, - "ubuntu.22.04-x64": { - "libLLVM": { - "libLLVM.runtime.ubuntu.22.04-x64": "15.0.0" - } - }, "win-arm64": { "libLLVM": { "libLLVM.runtime.win-arm64": "15.0.0" From 34882a68402707fc458b2c88bd8f717bad8ebc8d Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:09:09 -0700 Subject: [PATCH 2/7] Updating version information to 16.0.0 --- Directory.Build.props | 2 +- Directory.Packages.props | 2 +- .../libLLVM.runtime.linux-arm64.nuspec | 4 +-- .../libLLVM.runtime.linux-x64.nuspec | 4 +-- .../libLLVM.runtime.osx-arm64.nuspec | 4 +-- .../libLLVM.runtime.osx-x64.nuspec | 4 +-- .../libLLVM.runtime.win-arm64.nuspec | 4 +-- .../libLLVM.runtime.win-x64.nuspec | 4 +-- .../libLLVM.runtime.win-x86.nuspec | 4 +-- packages/libLLVM/libLLVM/libLLVM.nuspec | 4 +-- packages/libLLVM/libLLVM/runtime.json | 14 +++++----- .../Chapter3/Kaleidoscope/Kaleidoscope.csproj | 18 +++---------- .../KaleidoscopeLLVM/KaleidoscopeLLVM.csproj | 27 ++++--------------- .../Chapter4/Kaleidoscope/Kaleidoscope.csproj | 16 +++-------- .../KaleidoscopeLLVM/KaleidoscopeLLVM.csproj | 19 +++++-------- .../Chapter5/Kaleidoscope/Kaleidoscope.csproj | 17 +++--------- .../KaleidoscopeLLVM/KaleidoscopeLLVM.csproj | 18 +++---------- .../Extensions/LLVM.Manual.cs | 2 +- sources/LLVMSharp.Interop/LLVM.cs | 2 +- .../LLVMSharp.Interop/LLVMAtomicOrdering.cs | 2 +- .../LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs | 2 +- sources/LLVMSharp.Interop/LLVMBinaryType.cs | 2 +- sources/LLVMSharp.Interop/LLVMByteOrdering.cs | 2 +- sources/LLVMSharp.Interop/LLVMCallConv.cs | 2 +- .../LLVMSharp.Interop/LLVMCodeGenFileType.cs | 2 +- .../LLVMSharp.Interop/LLVMCodeGenOptLevel.cs | 2 +- sources/LLVMSharp.Interop/LLVMCodeModel.cs | 2 +- .../LLVMComdatSelectionKind.cs | 2 +- sources/LLVMSharp.Interop/LLVMDIFlags.cs | 2 +- .../LLVMSharp.Interop/LLVMDLLStorageClass.cs | 2 +- .../LLVMDWARFEmissionKind.cs | 2 +- .../LLVMDWARFMacinfoRecordType.cs | 2 +- .../LLVMDWARFSourceLanguage.cs | 2 +- .../LLVMDiagnosticSeverity.cs | 2 +- .../LLVMSharp.Interop/LLVMInlineAsmDialect.cs | 2 +- sources/LLVMSharp.Interop/LLVMIntPredicate.cs | 2 +- .../LLVMJITEvaluatedSymbol.cs | 2 +- .../LLVMSharp.Interop/LLVMJITSymbolFlags.cs | 2 +- .../LLVMJITSymbolGenericFlags.cs | 2 +- .../LLVMLandingPadClauseTy.cs | 2 +- sources/LLVMSharp.Interop/LLVMLinkage.cs | 2 +- sources/LLVMSharp.Interop/LLVMLinkerMode.cs | 2 +- .../LLVMMCJITCompilerOptions.cs | 2 +- .../LLVMModuleFlagBehavior.cs | 2 +- sources/LLVMSharp.Interop/LLVMOpInfo1.cs | 2 +- .../LLVMSharp.Interop/LLVMOpInfoSymbol1.cs | 2 +- sources/LLVMSharp.Interop/LLVMOpcode.cs | 2 +- .../LLVMOrcCDependenceMapPair.cs | 2 +- .../LLVMOrcCJITDylibSearchOrderElement.cs | 2 +- .../LLVMOrcCLookupSetElement.cs | 2 +- .../LLVMOrcCSymbolAliasMapEntry.cs | 2 +- .../LLVMOrcCSymbolAliasMapPair.cs | 2 +- .../LLVMOrcCSymbolFlagsMapPair.cs | 2 +- .../LLVMOrcCSymbolMapPair.cs | 2 +- .../LLVMSharp.Interop/LLVMOrcCSymbolsList.cs | 2 +- .../LLVMOrcJITDylibLookupFlags.cs | 2 +- .../LLVMSharp.Interop/LLVMOrcLookupKind.cs | 2 +- .../LLVMOrcSymbolLookupFlags.cs | 2 +- .../LLVMSharp.Interop/LLVMRealPredicate.cs | 2 +- sources/LLVMSharp.Interop/LLVMRelocMode.cs | 2 +- sources/LLVMSharp.Interop/LLVMRemarkType.cs | 2 +- .../LLVMSharp.Interop/LLVMThreadLocalMode.cs | 2 +- sources/LLVMSharp.Interop/LLVMTypeKind.cs | 2 +- sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs | 2 +- sources/LLVMSharp.Interop/LLVMValueKind.cs | 2 +- .../LLVMVerifierFailureAction.cs | 2 +- sources/LLVMSharp.Interop/LLVMVisibility.cs | 2 +- sources/LLVMSharp.Interop/LTOObjectBuffer.cs | 2 +- .../Manual/LLVMAttributeIndex.cs | 2 +- .../LLVMSharp.Interop/Manual/LLVMComdat.cs | 2 +- .../Manual/LLVMDiagnosticHandler.cs | 2 +- .../Manual/LLVMFatalErrorHandler.cs | 2 +- .../Manual/LLVMJITCSymbolMapPair.cs | 2 +- ...emoryManagerAllocateCodeSectionCallback.cs | 2 +- ...emoryManagerAllocateDataSectionCallback.cs | 2 +- .../LLVMMemoryManagerDestroyCallback.cs | 2 +- ...LLVMMemoryManagerFinalizeMemoryCallback.cs | 2 +- .../Manual/LLVMMetadataKind.cs | 2 +- .../Manual/LLVMOpInfoCallback.cs | 2 +- .../Manual/LLVMOpaqueAttributeRef.cs | 2 +- .../Manual/LLVMOpaqueBasicBlock.cs | 2 +- .../Manual/LLVMOpaqueBinary.cs | 2 +- .../Manual/LLVMOpaqueBuilder.cs | 2 +- .../Manual/LLVMOpaqueContext.cs | 2 +- .../Manual/LLVMOpaqueDIBuilder.cs | 2 +- .../Manual/LLVMOpaqueDiagnosticInfo.cs | 2 +- .../Manual/LLVMOpaqueError.cs | 2 +- .../Manual/LLVMOpaqueExecutionEngine.cs | 2 +- .../Manual/LLVMOpaqueGenericValue.cs | 2 +- .../Manual/LLVMOpaqueJITEventListener.cs | 2 +- .../Manual/LLVMOpaqueLTOCodeGenerator.cs | 2 +- .../Manual/LLVMOpaqueLTOInput.cs | 2 +- .../Manual/LLVMOpaqueLTOModule.cs | 2 +- .../Manual/LLVMOpaqueMCJITMemoryManager.cs | 2 +- .../Manual/LLVMOpaqueMemoryBuffer.cs | 2 +- .../Manual/LLVMOpaqueMetadata.cs | 2 +- .../Manual/LLVMOpaqueModule.cs | 2 +- .../Manual/LLVMOpaqueModuleFlagEntry.cs | 2 +- .../Manual/LLVMOpaqueModuleProvider.cs | 2 +- .../Manual/LLVMOpaqueNamedMDNode.cs | 2 +- .../Manual/LLVMOpaqueObjectFile.cs | 2 +- .../Manual/LLVMOpaquePassBuilderOptions.cs | 2 +- .../Manual/LLVMOpaquePassManager.cs | 2 +- .../Manual/LLVMOpaquePassManagerBuilder.cs | 2 +- .../Manual/LLVMOpaquePassRegistry.cs | 2 +- .../Manual/LLVMOpaqueRelocationIterator.cs | 2 +- .../Manual/LLVMOpaqueSectionIterator.cs | 2 +- .../Manual/LLVMOpaqueSymbolIterator.cs | 2 +- .../Manual/LLVMOpaqueTargetData.cs | 2 +- .../LLVMOpaqueTargetLibraryInfotData.cs | 2 +- .../Manual/LLVMOpaqueTargetMachine.cs | 2 +- .../Manual/LLVMOpaqueThinLTOCodeGenerator.cs | 2 +- .../Manual/LLVMOpaqueType.cs | 2 +- .../LLVMSharp.Interop/Manual/LLVMOpaqueUse.cs | 2 +- .../Manual/LLVMOpaqueValue.cs | 2 +- .../Manual/LLVMOpaqueValueMetadataEntry.cs | 2 +- ...efinitionGeneratorTryToGenerateFunction.cs | 2 +- .../Manual/LLVMOrcErrorReporterFunction.cs | 2 +- ...LLVMOrcGenericIRModuleOperationFunction.cs | 2 +- ...LVMOrcIRTransformLayerTransformFunction.cs | 2 +- ...uilderObjectLinkingLayerCreatorFunction.cs | 2 +- ...VMOrcMaterializationUnitDestroyFunction.cs | 2 +- ...VMOrcMaterializationUnitDiscardFunction.cs | 2 +- ...cMaterializationUnitMaterializeFunction.cs | 2 +- ...rcObjectTransformLayerTransformFunction.cs | 2 +- .../LLVMOrcOpaqueDefinitionGenerator.cs | 2 +- .../Manual/LLVMOrcOpaqueDumpObjects.cs | 2 +- .../Manual/LLVMOrcOpaqueExecutionSession.cs | 2 +- .../Manual/LLVMOrcOpaqueIRTransformLayer.cs | 2 +- .../LLVMOrcOpaqueIndirectStubsManager.cs | 2 +- .../Manual/LLVMOrcOpaqueJITDylib.cs | 2 +- .../LLVMOrcOpaqueJITTargetMachineBuilder.cs | 2 +- .../Manual/LLVMOrcOpaqueLLJIT.cs | 2 +- .../Manual/LLVMOrcOpaqueLLJITBuilder.cs | 2 +- .../LLVMOrcOpaqueLazyCallThroughManager.cs | 2 +- .../Manual/LLVMOrcOpaqueLookupState.cs | 2 +- ...MOrcOpaqueMaterializationResponsibility.cs | 2 +- .../LLVMOrcOpaqueMaterializationUnit.cs | 2 +- .../Manual/LLVMOrcOpaqueObjectLayer.cs | 2 +- .../Manual/LLVMOrcOpaqueObjectLinkingLayer.cs | 2 +- .../LLVMOrcOpaqueObjectTransformLayer.cs | 2 +- .../Manual/LLVMOrcOpaqueResourceTracker.cs | 2 +- .../Manual/LLVMOrcOpaqueSymbolStringPool.cs | 2 +- .../LLVMOrcOpaqueSymbolStringPoolEntry.cs | 2 +- .../Manual/LLVMOrcOpaqueThreadSafeContext.cs | 2 +- .../Manual/LLVMOrcOpaqueThreadSafeModule.cs | 2 +- .../Manual/LLVMOrcSymbolPredicate.cs | 2 +- .../Manual/LLVMRemarkOpaqueArg.cs | 2 +- .../Manual/LLVMRemarkOpaqueDebugLoc.cs | 2 +- .../Manual/LLVMRemarkOpaqueEntry.cs | 2 +- .../Manual/LLVMRemarkOpaqueParser.cs | 2 +- .../Manual/LLVMRemarkOpaqueString.cs | 2 +- .../Manual/LLVMSymbolLookupCallback.cs | 2 +- .../LLVMSharp.Interop/Manual/LLVMTarget.cs | 2 +- .../Manual/LLVMYieldCallback.cs | 2 +- .../Manual/lto_diagnostic_handler_t.cs | 2 +- .../llvm_blake3_chunk_state.cs | 2 +- .../LLVMSharp.Interop/llvm_blake3_hasher.cs | 2 +- .../lto_codegen_diagnostic_severity_t.cs | 2 +- .../LLVMSharp.Interop/lto_codegen_model.cs | 2 +- sources/LLVMSharp.Interop/lto_debug_model.cs | 2 +- .../lto_symbol_attributes.cs | 2 +- .../Interop/LLVMJITEvaluatedSymbolTests.cs | 2 +- .../Interop/LLVMJITSymbolFlagsTests.cs | 2 +- .../Interop/LLVMMCJITCompilerOptionsTests.cs | 2 +- .../Interop/LLVMOpInfo1Tests.cs | 2 +- .../Interop/LLVMOpInfoSymbol1Tests.cs | 2 +- .../Interop/LLVMOrcCDependenceMapPairTests.cs | 2 +- ...LLVMOrcCJITDylibSearchOrderElementTests.cs | 2 +- .../Interop/LLVMOrcCLookupSetElementTests.cs | 2 +- .../LLVMOrcCSymbolAliasMapEntryTests.cs | 2 +- .../LLVMOrcCSymbolAliasMapPairTests.cs | 2 +- .../LLVMOrcCSymbolFlagsMapPairTests.cs | 2 +- .../Interop/LLVMOrcCSymbolMapPairTests.cs | 2 +- .../Interop/LLVMOrcCSymbolsListTests.cs | 2 +- .../Interop/LTOObjectBufferTests.cs | 2 +- .../Interop/llvm_blake3_chunk_stateTests.cs | 2 +- .../Interop/llvm_blake3_hasherTests.cs | 2 +- 178 files changed, 213 insertions(+), 274 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 94b050f..2ed113b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -45,7 +45,7 @@ $(BaseArtifactsPath)pkg/$(Configuration)/ LLVMSharp LLVMSharp - 15.0.0 + 16.0.0 rc1 pr diff --git a/Directory.Packages.props b/Directory.Packages.props index caf256f..f9a8890 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + 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 0b0d2cb..c768aad 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 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp linux arm64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.linux-x64/libLLVM.runtime.linux-x64.nuspec b/packages/libLLVM/libLLVM.runtime.linux-x64/libLLVM.runtime.linux-x64.nuspec index 7ecbb8b..8b5c2b9 100644 --- a/packages/libLLVM/libLLVM.runtime.linux-x64/libLLVM.runtime.linux-x64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.linux-x64/libLLVM.runtime.linux-x64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.linux-x64 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp linux x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.osx-arm64/libLLVM.runtime.osx-arm64.nuspec b/packages/libLLVM/libLLVM.runtime.osx-arm64/libLLVM.runtime.osx-arm64.nuspec index f79e9ce..3e64496 100644 --- a/packages/libLLVM/libLLVM.runtime.osx-arm64/libLLVM.runtime.osx-arm64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.osx-arm64/libLLVM.runtime.osx-arm64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.osx-arm64 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp osx arm64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec b/packages/libLLVM/libLLVM.runtime.osx-x64/libLLVM.runtime.osx-x64.nuspec index ac19872..271b350 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 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp osx x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec b/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec index 155c8c2..8246548 100644 --- a/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec +++ b/packages/libLLVM/libLLVM.runtime.win-arm64/libLLVM.runtime.win-arm64.nuspec @@ -2,7 +2,7 @@ libLLVM.runtime.win-arm64 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win arm64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec b/packages/libLLVM/libLLVM.runtime.win-x64/libLLVM.runtime.win-x64.nuspec index 579c436..8a88bac 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 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win x64 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec b/packages/libLLVM/libLLVM.runtime.win-x86/libLLVM.runtime.win-x86.nuspec index d0f417a..1fb468b 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 - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp win x86 native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM/libLLVM.nuspec b/packages/libLLVM/libLLVM/libLLVM.nuspec index 2374bbb..b479fb0 100644 --- a/packages/libLLVM/libLLVM/libLLVM.nuspec +++ b/packages/libLLVM/libLLVM/libLLVM.nuspec @@ -2,7 +2,7 @@ libLLVM - 15.0.0 + 16.0.6 .NET Foundation and Contributors .NET Foundation and Contributors true @@ -10,7 +10,7 @@ https://github.com/dotnet/llvmsharp Multi-platform native library for libLLVM. Copyright © LLVM Project - + diff --git a/packages/libLLVM/libLLVM/runtime.json b/packages/libLLVM/libLLVM/runtime.json index 74b2464..aef2e98 100644 --- a/packages/libLLVM/libLLVM/runtime.json +++ b/packages/libLLVM/libLLVM/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "libLLVM": { - "libLLVM.runtime.linux-arm64": "15.0.0" + "libLLVM.runtime.linux-arm64": "16.0.6" } }, "linux-x64": { "libLLVM": { - "libLLVM.runtime.linux-x64": "15.0.0" + "libLLVM.runtime.linux-x64": "16.0.6" } }, "osx-arm64": { "libLLVM": { - "libLLVM.runtime.osx-arm64": "15.0.0" + "libLLVM.runtime.osx-arm64": "16.0.6" } }, "osx-x64": { "libLLVM": { - "libLLVM.runtime.osx-x64": "15.0.0" + "libLLVM.runtime.osx-x64": "16.0.6" } }, "win-arm64": { "libLLVM": { - "libLLVM.runtime.win-arm64": "15.0.0" + "libLLVM.runtime.win-arm64": "16.0.6" } }, "win-x64": { "libLLVM": { - "libLLVM.runtime.win-x64": "15.0.0" + "libLLVM.runtime.win-x64": "16.0.6" } }, "win-x86": { "libLLVM": { - "libLLVM.runtime.win-x86": "15.0.0" + "libLLVM.runtime.win-x86": "16.0.6" } } } diff --git a/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj index f5606aa..725b5d7 100644 --- a/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter3/Kaleidoscope/Kaleidoscope.csproj @@ -1,16 +1,6 @@  - - - Debug - AnyCPU - {CD23CB2E-951B-4FAD-A4CD-4048731DBA31} - Library - Properties - Kaleidoscope - Kaleidoscope - netcoreapp3.1 - 0e4b5d39 - 512 - - + + + net6.0;net7.0 + diff --git a/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index c092afb..f4f4e34 100644 --- a/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter3/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -1,31 +1,14 @@  - + - Debug - AnyCPU - {C1147A13-4174-410A-A891-335D858703B7} - Exe - Properties - KaleidoscopeLLVM - KaleidoscopeLLVM - netcoreapp3.1 - 512 - b8df454a + net6.0;net7.0 - - - + + - + - diff --git a/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj index ec3fdda..725b5d7 100644 --- a/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter4/Kaleidoscope/Kaleidoscope.csproj @@ -1,14 +1,6 @@  - - - Debug - AnyCPU - {CD23CB2E-951B-4FAD-A4CD-4048731DBA31} - Library - Properties - Kaleidoscope - Kaleidoscope - netcoreapp3.1 - 0e4b5d39 - + + + net6.0;net7.0 + diff --git a/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index e589ec0..f4f4e34 100644 --- a/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter4/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -1,21 +1,14 @@  - + - Debug - AnyCPU - {C1147A13-4174-410A-A891-335D858703B7} - Exe - Properties - KaleidoscopeLLVM - KaleidoscopeLLVM - netcoreapp3.1 - 512 - b8df454a + net6.0;net7.0 + - + + - + diff --git a/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj b/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj index 068bfc0..725b5d7 100644 --- a/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj +++ b/samples/KaleidoscopeTutorial/Chapter5/Kaleidoscope/Kaleidoscope.csproj @@ -1,15 +1,6 @@  - - - - Debug - AnyCPU - {CD23CB2E-951B-4FAD-A4CD-4048731DBA31} - Library - Properties - Kaleidoscope - Kaleidoscope - netcoreapp3.1 - 0e4b5d39 - + + + net6.0;net7.0 + diff --git a/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj b/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj index abfb50a..f4f4e34 100644 --- a/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj +++ b/samples/KaleidoscopeTutorial/Chapter5/KaleidoscopeLLVM/KaleidoscopeLLVM.csproj @@ -1,24 +1,14 @@  - + - Debug - AnyCPU - {C1147A13-4174-410A-A891-335D858703B7} - Exe - Properties - KaleidoscopeLLVM - KaleidoscopeLLVM - netcoreapp3.1 - 512 - b8df454a + net6.0;net7.0 + + - - - diff --git a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs index 40fbff3..207597b 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVM.cs b/sources/LLVMSharp.Interop/LLVM.cs index 2cb7817..11ec512 100644 --- a/sources/LLVMSharp.Interop/LLVM.cs +++ b/sources/LLVMSharp.Interop/LLVM.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMAtomicOrdering.cs b/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs index 287c6e1..c2bcbfa 100644 --- a/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs +++ b/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 2bcbc16..a307686 100644 --- a/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs +++ b/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 35f8aa5..66bbc38 100644 --- a/sources/LLVMSharp.Interop/LLVMBinaryType.cs +++ b/sources/LLVMSharp.Interop/LLVMBinaryType.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 6686d6c..355b544 100644 --- a/sources/LLVMSharp.Interop/LLVMByteOrdering.cs +++ b/sources/LLVMSharp.Interop/LLVMByteOrdering.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 99efcc1..4de54fd 100644 --- a/sources/LLVMSharp.Interop/LLVMCallConv.cs +++ b/sources/LLVMSharp.Interop/LLVMCallConv.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 203cd43..d243f42 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 1808854..7b65f8e 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 cb3a46b..ce5f9ee 100644 --- a/sources/LLVMSharp.Interop/LLVMCodeModel.cs +++ b/sources/LLVMSharp.Interop/LLVMCodeModel.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 fa1302b..31b652c 100644 --- a/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs +++ b/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 4317a78..552826e 100644 --- a/sources/LLVMSharp.Interop/LLVMDIFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMDIFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs b/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs index dd99ced..b61a327 100644 --- a/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs +++ b/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 21a3268..22b4c35 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs b/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs index e1bb46a..09eab07 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs b/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs index 0df3032..45e4e60 100644 --- a/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs +++ b/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMDiagnosticSeverity.cs b/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs index 770c6c7..d0d3463 100644 --- a/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs +++ b/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMInlineAsmDialect.cs b/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs index 39fde4f..3c10ec6 100644 --- a/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs +++ b/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 a5586cd..957172d 100644 --- a/sources/LLVMSharp.Interop/LLVMIntPredicate.cs +++ b/sources/LLVMSharp.Interop/LLVMIntPredicate.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs b/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs index 3ff32d9..f46e9fc 100644 --- a/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs +++ b/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMJITSymbolFlags.cs b/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs index 4900e06..87282e5 100644 --- a/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs b/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs index cb9d3bf..4f97555 100644 --- a/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMLandingPadClauseTy.cs b/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs index 41e5b25..0f3192c 100644 --- a/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs +++ b/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 830432b..5a90f4f 100644 --- a/sources/LLVMSharp.Interop/LLVMLinkage.cs +++ b/sources/LLVMSharp.Interop/LLVMLinkage.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 31c678b..81c7913 100644 --- a/sources/LLVMSharp.Interop/LLVMLinkerMode.cs +++ b/sources/LLVMSharp.Interop/LLVMLinkerMode.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 34a2e00..9072f21 100644 --- a/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs +++ b/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 5eeb55d..e5ea4bf 100644 --- a/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs +++ b/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 5f6dcd0..0ed7d7f 100644 --- a/sources/LLVMSharp.Interop/LLVMOpInfo1.cs +++ b/sources/LLVMSharp.Interop/LLVMOpInfo1.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOpInfoSymbol1.cs b/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs index 20d43fd..dc89e8a 100644 --- a/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs +++ b/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 f2ab41a..988b8c3 100644 --- a/sources/LLVMSharp.Interop/LLVMOpcode.cs +++ b/sources/LLVMSharp.Interop/LLVMOpcode.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCDependenceMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs index 82c3444..a134884 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCJITDylibSearchOrderElement.cs b/sources/LLVMSharp.Interop/LLVMOrcCJITDylibSearchOrderElement.cs index 222be2b..a924343 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCJITDylibSearchOrderElement.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCJITDylibSearchOrderElement.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCLookupSetElement.cs b/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs index 9cd7107..d2910bb 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs index d74e9ca..67c1268 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCSymbolAliasMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs index 91d30a5..f6ebb5f 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCSymbolFlagsMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs index ff1ddc0..66f8bc4 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCSymbolMapPair.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolMapPair.cs index ab107b9..116efda 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCSymbolMapPair.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolMapPair.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcCSymbolsList.cs b/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs index 7ff7198..48a4b88 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcJITDylibLookupFlags.cs b/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs index 637fee1..035d485 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMOrcLookupKind.cs b/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs index d291292..5f07317 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace LLVMSharp.Interop; diff --git a/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs b/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs index 61aeb9f..90cc2e4 100644 --- a/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs +++ b/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LLVMRealPredicate.cs b/sources/LLVMSharp.Interop/LLVMRealPredicate.cs index 72f1af8..1471315 100644 --- a/sources/LLVMSharp.Interop/LLVMRealPredicate.cs +++ b/sources/LLVMSharp.Interop/LLVMRealPredicate.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 050e149..5ce8ac6 100644 --- a/sources/LLVMSharp.Interop/LLVMRelocMode.cs +++ b/sources/LLVMSharp.Interop/LLVMRelocMode.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 a764fe4..0f85d01 100644 --- a/sources/LLVMSharp.Interop/LLVMRemarkType.cs +++ b/sources/LLVMSharp.Interop/LLVMRemarkType.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 f438111..daaa42d 100644 --- a/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs +++ b/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 d02541e..38fe99a 100644 --- a/sources/LLVMSharp.Interop/LLVMTypeKind.cs +++ b/sources/LLVMSharp.Interop/LLVMTypeKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 b08fcb6..c89519d 100644 --- a/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs +++ b/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 9d22fee..8abf484 100644 --- a/sources/LLVMSharp.Interop/LLVMValueKind.cs +++ b/sources/LLVMSharp.Interop/LLVMValueKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 6fd81a4..3b44b96 100644 --- a/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs +++ b/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 7ef7324..460ac6e 100644 --- a/sources/LLVMSharp.Interop/LLVMVisibility.cs +++ b/sources/LLVMSharp.Interop/LLVMVisibility.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/LTOObjectBuffer.cs b/sources/LLVMSharp.Interop/LTOObjectBuffer.cs index 5a5edf2..1ebc98c 100644 --- a/sources/LLVMSharp.Interop/LTOObjectBuffer.cs +++ b/sources/LLVMSharp.Interop/LTOObjectBuffer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMAttributeIndex.cs b/sources/LLVMSharp.Interop/Manual/LLVMAttributeIndex.cs index f15d6ce..8b420ec 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMAttributeIndex.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMAttributeIndex.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMComdat.cs b/sources/LLVMSharp.Interop/Manual/LLVMComdat.cs index 39459e9..5dc2f1d 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMComdat.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMComdat.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMDiagnosticHandler.cs b/sources/LLVMSharp.Interop/Manual/LLVMDiagnosticHandler.cs index a2e105d..f0b54ae 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMDiagnosticHandler.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMDiagnosticHandler.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMFatalErrorHandler.cs b/sources/LLVMSharp.Interop/Manual/LLVMFatalErrorHandler.cs index 10bd504..71b113e 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMFatalErrorHandler.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMFatalErrorHandler.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMJITCSymbolMapPair.cs b/sources/LLVMSharp.Interop/Manual/LLVMJITCSymbolMapPair.cs index 95f24e6..3da62cb 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMJITCSymbolMapPair.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMJITCSymbolMapPair.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMMemoryManagerAllocateCodeSectionCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateCodeSectionCallback.cs index e507a69..1aeb7cd 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateCodeSectionCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateCodeSectionCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMMemoryManagerAllocateDataSectionCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateDataSectionCallback.cs index c9ea438..2f957e8 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateDataSectionCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerAllocateDataSectionCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMMemoryManagerDestroyCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerDestroyCallback.cs index a592c2a..8a6bb4f 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerDestroyCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerDestroyCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMMemoryManagerFinalizeMemoryCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerFinalizeMemoryCallback.cs index d02aa98..7dcff0f 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerFinalizeMemoryCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMMemoryManagerFinalizeMemoryCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMMetadataKind.cs b/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs index 228dff6..2f43b59 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpInfoCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpInfoCallback.cs index 9aa5a3c..40282d1 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpInfoCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpInfoCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueAttributeRef.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueAttributeRef.cs index 38649a5..e3b135d 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueAttributeRef.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueAttributeRef.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueBasicBlock.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBasicBlock.cs index 02c55d2..608bcb3 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBasicBlock.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBasicBlock.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueBinary.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBinary.cs index 5af8b6f..e15ffed 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBinary.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBinary.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueBuilder.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBuilder.cs index 1a75285..b2ad85a 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBuilder.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueContext.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueContext.cs index bd37fd7..d9f66ec 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueContext.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueContext.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueDIBuilder.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDIBuilder.cs index 80891f3..9dfd6d3 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDIBuilder.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDIBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueDiagnosticInfo.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDiagnosticInfo.cs index d3a3dfc..fe6374f 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDiagnosticInfo.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueDiagnosticInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueError.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueError.cs index b78e57f..ea27b06 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueError.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueError.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueExecutionEngine.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueExecutionEngine.cs index 06e027b..02a02d2 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueExecutionEngine.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueExecutionEngine.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueGenericValue.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueGenericValue.cs index 638032b..a2b1b3a 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueGenericValue.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueGenericValue.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueJITEventListener.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueJITEventListener.cs index 02868e4..613b86b 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueJITEventListener.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueJITEventListener.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueLTOCodeGenerator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOCodeGenerator.cs index 2921bb5..ac41e47 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOCodeGenerator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOCodeGenerator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueLTOInput.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOInput.cs index 2c4e919..d69e208 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOInput.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOInput.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueLTOModule.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOModule.cs index d9f0de6..dac15fb 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOModule.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueLTOModule.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueMCJITMemoryManager.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMCJITMemoryManager.cs index b0132fe..9736dcd 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMCJITMemoryManager.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMCJITMemoryManager.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueMemoryBuffer.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMemoryBuffer.cs index 8a826a7..8be6c24 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMemoryBuffer.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMemoryBuffer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueMetadata.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMetadata.cs index 0185596..224991f 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMetadata.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueMetadata.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueModule.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModule.cs index 440b34d..a2aa424 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModule.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModule.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueModuleFlagEntry.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleFlagEntry.cs index 408f0bf..cf3c27c 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleFlagEntry.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleFlagEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueModuleProvider.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleProvider.cs index ccbfec6..5e40145 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleProvider.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueModuleProvider.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueNamedMDNode.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueNamedMDNode.cs index 5b9d464..ffbe7ca 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueNamedMDNode.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueNamedMDNode.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueObjectFile.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueObjectFile.cs index 1941223..02b8645 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueObjectFile.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueObjectFile.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaquePassBuilderOptions.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassBuilderOptions.cs index cb9dacd..1bb9ecf 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassBuilderOptions.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassBuilderOptions.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaquePassManager.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManager.cs index e650ea0..0a4223c 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManager.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManager.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaquePassManagerBuilder.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManagerBuilder.cs index 836e965..e1ea9cc 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManagerBuilder.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassManagerBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaquePassRegistry.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassRegistry.cs index 6ddbe84..a90a823 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassRegistry.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaquePassRegistry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueRelocationIterator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueRelocationIterator.cs index 0c3dc41..8eec917 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueRelocationIterator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueRelocationIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueSectionIterator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSectionIterator.cs index 4b06c7d..5d13c7e 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSectionIterator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSectionIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueSymbolIterator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSymbolIterator.cs index 3f548d3..da14817 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSymbolIterator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueSymbolIterator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueTargetData.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetData.cs index 35c3138..846df6a 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetData.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetData.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueTargetLibraryInfotData.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetLibraryInfotData.cs index 8dc6bb7..60771ad 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetLibraryInfotData.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetLibraryInfotData.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueTargetMachine.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetMachine.cs index 50959be..3ccfe33 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetMachine.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueTargetMachine.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueThinLTOCodeGenerator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueThinLTOCodeGenerator.cs index 2d13229..b5575d9 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueThinLTOCodeGenerator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueThinLTOCodeGenerator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueType.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueType.cs index f3b07e3..698a482 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueType.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueType.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueUse.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueUse.cs index f3cf531..a655411 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueUse.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueUse.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueValue.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValue.cs index 0a28b4c..3ace073 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValue.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValue.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOpaqueValueMetadataEntry.cs b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValueMetadataEntry.cs index 790e7e2..050ef45 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValueMetadataEntry.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOpaqueValueMetadataEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs index d3c0235..2f22cdf 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcErrorReporterFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcErrorReporterFunction.cs index 6bb3074..0963308 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcErrorReporterFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcErrorReporterFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcGenericIRModuleOperationFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcGenericIRModuleOperationFunction.cs index 1b9e171..2a3bb61 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcGenericIRModuleOperationFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcGenericIRModuleOperationFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcIRTransformLayerTransformFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcIRTransformLayerTransformFunction.cs index 0fd4e04..0117ca0 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcIRTransformLayerTransformFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcIRTransformLayerTransformFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs index 46ce535..ee80f0c 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcMaterializationUnitDestroyFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDestroyFunction.cs index d8fde9d..34dc4b9 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDestroyFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDestroyFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcMaterializationUnitDiscardFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDiscardFunction.cs index e13170d..1943ffa 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDiscardFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitDiscardFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcMaterializationUnitMaterializeFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitMaterializeFunction.cs index 76ee707..4144e70 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitMaterializeFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcMaterializationUnitMaterializeFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcObjectTransformLayerTransformFunction.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcObjectTransformLayerTransformFunction.cs index 2e008b2..f7c496d 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcObjectTransformLayerTransformFunction.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcObjectTransformLayerTransformFunction.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueDefinitionGenerator.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDefinitionGenerator.cs index 38d2c77..9fbfc01 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDefinitionGenerator.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDefinitionGenerator.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueDumpObjects.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDumpObjects.cs index 65bbed1..d018dff 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDumpObjects.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueDumpObjects.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueExecutionSession.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueExecutionSession.cs index 029dd43..325c445 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueExecutionSession.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueExecutionSession.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueIRTransformLayer.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIRTransformLayer.cs index dc0a474..aacaa31 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIRTransformLayer.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIRTransformLayer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueIndirectStubsManager.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIndirectStubsManager.cs index 45c736e..33a145c 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIndirectStubsManager.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueIndirectStubsManager.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueJITDylib.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITDylib.cs index b7aa94a..dac5a8e 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITDylib.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITDylib.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueJITTargetMachineBuilder.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITTargetMachineBuilder.cs index 62bfac0..db4225b 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITTargetMachineBuilder.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueJITTargetMachineBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueLLJIT.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJIT.cs index e28a8b4..2023404 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJIT.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJIT.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueLLJITBuilder.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJITBuilder.cs index 62678f2..57bd2af 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJITBuilder.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLLJITBuilder.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueLazyCallThroughManager.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLazyCallThroughManager.cs index ed42bf5..83f09e9 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLazyCallThroughManager.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLazyCallThroughManager.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueLookupState.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLookupState.cs index 7a4c5a9..a051d4d 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLookupState.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueLookupState.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueMaterializationResponsibility.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationResponsibility.cs index bfd1771..b1adf15 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationResponsibility.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationResponsibility.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueMaterializationUnit.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationUnit.cs index cf19597..1beeca4 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationUnit.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueMaterializationUnit.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueObjectLayer.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLayer.cs index c066475..ef47a83 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLayer.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLayer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueObjectLinkingLayer.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLinkingLayer.cs index 09fd4e2..3c66e0a 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLinkingLayer.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectLinkingLayer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueObjectTransformLayer.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectTransformLayer.cs index 5610173..b1d47c1 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectTransformLayer.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueObjectTransformLayer.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueResourceTracker.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueResourceTracker.cs index 7d8b30d..36aec39 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueResourceTracker.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueResourceTracker.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueSymbolStringPool.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPool.cs index 139e84a..0094e83 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPool.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPool.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueSymbolStringPoolEntry.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPoolEntry.cs index 5f958d9..e6a197b 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPoolEntry.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueSymbolStringPoolEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueThreadSafeContext.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeContext.cs index 4e24f40..64bb8ec 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeContext.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeContext.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcOpaqueThreadSafeModule.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeModule.cs index ab258cc..074189e 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeModule.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcOpaqueThreadSafeModule.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMOrcSymbolPredicate.cs b/sources/LLVMSharp.Interop/Manual/LLVMOrcSymbolPredicate.cs index f80cc04..c05ae16 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMOrcSymbolPredicate.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMOrcSymbolPredicate.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMRemarkOpaqueArg.cs b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueArg.cs index fc2f87b..6011026 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueArg.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueArg.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMRemarkOpaqueDebugLoc.cs b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueDebugLoc.cs index 4bee92e..9563d34 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueDebugLoc.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueDebugLoc.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMRemarkOpaqueEntry.cs b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueEntry.cs index d815db3..5848eaf 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueEntry.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMRemarkOpaqueParser.cs b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueParser.cs index 926e43b..2abb0de 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueParser.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueParser.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMRemarkOpaqueString.cs b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueString.cs index 32291c7..b311601 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueString.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMRemarkOpaqueString.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMSymbolLookupCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMSymbolLookupCallback.cs index f15268d..b9e745f 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMSymbolLookupCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMSymbolLookupCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMTarget.cs b/sources/LLVMSharp.Interop/Manual/LLVMTarget.cs index 7adb69b..0dddb33 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMTarget.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMTarget.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/LLVMYieldCallback.cs b/sources/LLVMSharp.Interop/Manual/LLVMYieldCallback.cs index f619d1a..e0ec6e1 100644 --- a/sources/LLVMSharp.Interop/Manual/LLVMYieldCallback.cs +++ b/sources/LLVMSharp.Interop/Manual/LLVMYieldCallback.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/Manual/lto_diagnostic_handler_t.cs b/sources/LLVMSharp.Interop/Manual/lto_diagnostic_handler_t.cs index 58cebd8..332eb9a 100644 --- a/sources/LLVMSharp.Interop/Manual/lto_diagnostic_handler_t.cs +++ b/sources/LLVMSharp.Interop/Manual/lto_diagnostic_handler_t.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/llvm_blake3_chunk_state.cs b/sources/LLVMSharp.Interop/llvm_blake3_chunk_state.cs index 2bff357..96cd05d 100644 --- a/sources/LLVMSharp.Interop/llvm_blake3_chunk_state.cs +++ b/sources/LLVMSharp.Interop/llvm_blake3_chunk_state.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/llvm_blake3_hasher.cs b/sources/LLVMSharp.Interop/llvm_blake3_hasher.cs index 275c7c5..93e0961 100644 --- a/sources/LLVMSharp.Interop/llvm_blake3_hasher.cs +++ b/sources/LLVMSharp.Interop/llvm_blake3_hasher.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 6d90b5f..cfb9e2b 100644 --- a/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs +++ b/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 2c82465..ef16394 100644 --- a/sources/LLVMSharp.Interop/lto_codegen_model.cs +++ b/sources/LLVMSharp.Interop/lto_codegen_model.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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 873b794..042a0ec 100644 --- a/sources/LLVMSharp.Interop/lto_debug_model.cs +++ b/sources/LLVMSharp.Interop/lto_debug_model.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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_symbol_attributes.cs b/sources/LLVMSharp.Interop/lto_symbol_attributes.cs index 2ff0463..947db82 100644 --- a/sources/LLVMSharp.Interop/lto_symbol_attributes.cs +++ b/sources/LLVMSharp.Interop/lto_symbol_attributes.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the 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/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs index a08d728..dc8afd6 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMJITEvaluatedSymbolTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs index 3f8f4af..48699cd 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMJITSymbolFlagsTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs index 0e05586..0f7870e 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMMCJITCompilerOptionsTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs index 6ca4d5f..5aae956 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfo1Tests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs index 919e828..6fa5519 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOpInfoSymbol1Tests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCDependenceMapPairTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCDependenceMapPairTests.cs index 628940a..4df7d0d 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCDependenceMapPairTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCDependenceMapPairTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCJITDylibSearchOrderElementTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCJITDylibSearchOrderElementTests.cs index 94071c7..c39d053 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCJITDylibSearchOrderElementTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCJITDylibSearchOrderElementTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs index beea700..99a9ca5 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCLookupSetElementTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapEntryTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapEntryTests.cs index 6dc0cc4..dfc3eea 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapEntryTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapEntryTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapPairTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapPairTests.cs index dfd05e8..4e21217 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapPairTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolAliasMapPairTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolFlagsMapPairTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolFlagsMapPairTests.cs index e101eeb..8e1214d 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolFlagsMapPairTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolFlagsMapPairTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolMapPairTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolMapPairTests.cs index 24deb79..c3ff1d1 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolMapPairTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolMapPairTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolsListTests.cs b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolsListTests.cs index 8e4ebe2..d69264a 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolsListTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LLVMOrcCSymbolsListTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs b/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs index 7254907..5c5dfdc 100644 --- a/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/LTOObjectBufferTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_chunk_stateTests.cs b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_chunk_stateTests.cs index 1598464..d23c30d 100644 --- a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_chunk_stateTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_chunk_stateTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; diff --git a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs index fc701aa..2654379 100644 --- a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs @@ -1,6 +1,6 @@ // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-15.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using NUnit.Framework; From 337e58dc1282699d62c7bc8eb09f4307c9129068 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:16:23 -0700 Subject: [PATCH 3/7] Moving generated bindings to their own folder --- sources/LLVMSharp.Interop/{ => llvm}/LLVM.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMAtomicOrdering.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMAtomicRMWBinOp.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMBinaryType.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMByteOrdering.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMCallConv.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeGenFileType.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeGenOptLevel.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeModel.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMComdatSelectionKind.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMDIFlags.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMDLLStorageClass.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMDWARFEmissionKind.cs | 0 .../LLVMSharp.Interop/{ => llvm}/LLVMDWARFMacinfoRecordType.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMDWARFSourceLanguage.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMDiagnosticSeverity.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMInlineAsmDialect.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMIntPredicate.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMJITEvaluatedSymbol.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMJITSymbolFlags.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMJITSymbolGenericFlags.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMLandingPadClauseTy.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMLinkage.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMLinkerMode.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMMCJITCompilerOptions.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMModuleFlagBehavior.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOpInfo1.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOpInfoSymbol1.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOpcode.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCDependenceMapPair.cs | 0 .../{ => llvm}/LLVMOrcCJITDylibSearchOrderElement.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCLookupSetElement.cs | 0 .../LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolAliasMapEntry.cs | 0 .../LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolAliasMapPair.cs | 0 .../LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolFlagsMapPair.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolMapPair.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolsList.cs | 0 .../LLVMSharp.Interop/{ => llvm}/LLVMOrcJITDylibLookupFlags.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcLookupKind.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcSymbolLookupFlags.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMRealPredicate.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMRelocMode.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMRemarkType.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMThreadLocalMode.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMTypeKind.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMUnnamedAddr.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMValueKind.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMVerifierFailureAction.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LLVMVisibility.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/LTOObjectBuffer.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/llvm_blake3_chunk_state.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/llvm_blake3_hasher.cs | 0 .../{ => llvm}/lto_codegen_diagnostic_severity_t.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/lto_codegen_model.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/lto_debug_model.cs | 0 sources/LLVMSharp.Interop/{ => llvm}/lto_symbol_attributes.cs | 0 56 files changed, 0 insertions(+), 0 deletions(-) rename sources/LLVMSharp.Interop/{ => llvm}/LLVM.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMAtomicOrdering.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMAtomicRMWBinOp.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMBinaryType.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMByteOrdering.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMCallConv.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeGenFileType.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeGenOptLevel.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMCodeModel.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMComdatSelectionKind.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDIFlags.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDLLStorageClass.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDWARFEmissionKind.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDWARFMacinfoRecordType.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDWARFSourceLanguage.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMDiagnosticSeverity.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMInlineAsmDialect.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMIntPredicate.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMJITEvaluatedSymbol.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMJITSymbolFlags.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMJITSymbolGenericFlags.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMLandingPadClauseTy.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMLinkage.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMLinkerMode.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMMCJITCompilerOptions.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMModuleFlagBehavior.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOpInfo1.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOpInfoSymbol1.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOpcode.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCDependenceMapPair.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCJITDylibSearchOrderElement.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCLookupSetElement.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolAliasMapEntry.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolAliasMapPair.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolFlagsMapPair.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolMapPair.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcCSymbolsList.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcJITDylibLookupFlags.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcLookupKind.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMOrcSymbolLookupFlags.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMRealPredicate.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMRelocMode.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMRemarkType.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMThreadLocalMode.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMTypeKind.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMUnnamedAddr.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMValueKind.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMVerifierFailureAction.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LLVMVisibility.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/LTOObjectBuffer.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/llvm_blake3_chunk_state.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/llvm_blake3_hasher.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/lto_codegen_diagnostic_severity_t.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/lto_codegen_model.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/lto_debug_model.cs (100%) rename sources/LLVMSharp.Interop/{ => llvm}/lto_symbol_attributes.cs (100%) diff --git a/sources/LLVMSharp.Interop/LLVM.cs b/sources/LLVMSharp.Interop/llvm/LLVM.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVM.cs rename to sources/LLVMSharp.Interop/llvm/LLVM.cs diff --git a/sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs b/sources/LLVMSharp.Interop/llvm/LLVMAtomicOrdering.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMAtomicOrdering.cs rename to sources/LLVMSharp.Interop/llvm/LLVMAtomicOrdering.cs diff --git a/sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs b/sources/LLVMSharp.Interop/llvm/LLVMAtomicRMWBinOp.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMAtomicRMWBinOp.cs rename to sources/LLVMSharp.Interop/llvm/LLVMAtomicRMWBinOp.cs diff --git a/sources/LLVMSharp.Interop/LLVMBinaryType.cs b/sources/LLVMSharp.Interop/llvm/LLVMBinaryType.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMBinaryType.cs rename to sources/LLVMSharp.Interop/llvm/LLVMBinaryType.cs diff --git a/sources/LLVMSharp.Interop/LLVMByteOrdering.cs b/sources/LLVMSharp.Interop/llvm/LLVMByteOrdering.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMByteOrdering.cs rename to sources/LLVMSharp.Interop/llvm/LLVMByteOrdering.cs diff --git a/sources/LLVMSharp.Interop/LLVMCallConv.cs b/sources/LLVMSharp.Interop/llvm/LLVMCallConv.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMCallConv.cs rename to sources/LLVMSharp.Interop/llvm/LLVMCallConv.cs diff --git a/sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs b/sources/LLVMSharp.Interop/llvm/LLVMCodeGenFileType.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMCodeGenFileType.cs rename to sources/LLVMSharp.Interop/llvm/LLVMCodeGenFileType.cs diff --git a/sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs b/sources/LLVMSharp.Interop/llvm/LLVMCodeGenOptLevel.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMCodeGenOptLevel.cs rename to sources/LLVMSharp.Interop/llvm/LLVMCodeGenOptLevel.cs diff --git a/sources/LLVMSharp.Interop/LLVMCodeModel.cs b/sources/LLVMSharp.Interop/llvm/LLVMCodeModel.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMCodeModel.cs rename to sources/LLVMSharp.Interop/llvm/LLVMCodeModel.cs diff --git a/sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMComdatSelectionKind.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMComdatSelectionKind.cs rename to sources/LLVMSharp.Interop/llvm/LLVMComdatSelectionKind.cs diff --git a/sources/LLVMSharp.Interop/LLVMDIFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMDIFlags.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDIFlags.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDIFlags.cs diff --git a/sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs b/sources/LLVMSharp.Interop/llvm/LLVMDLLStorageClass.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDLLStorageClass.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDLLStorageClass.cs diff --git a/sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMDWARFEmissionKind.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDWARFEmissionKind.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDWARFEmissionKind.cs diff --git a/sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs b/sources/LLVMSharp.Interop/llvm/LLVMDWARFMacinfoRecordType.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDWARFMacinfoRecordType.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDWARFMacinfoRecordType.cs diff --git a/sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs b/sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDWARFSourceLanguage.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs diff --git a/sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs b/sources/LLVMSharp.Interop/llvm/LLVMDiagnosticSeverity.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMDiagnosticSeverity.cs rename to sources/LLVMSharp.Interop/llvm/LLVMDiagnosticSeverity.cs diff --git a/sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs b/sources/LLVMSharp.Interop/llvm/LLVMInlineAsmDialect.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMInlineAsmDialect.cs rename to sources/LLVMSharp.Interop/llvm/LLVMInlineAsmDialect.cs diff --git a/sources/LLVMSharp.Interop/LLVMIntPredicate.cs b/sources/LLVMSharp.Interop/llvm/LLVMIntPredicate.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMIntPredicate.cs rename to sources/LLVMSharp.Interop/llvm/LLVMIntPredicate.cs diff --git a/sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs b/sources/LLVMSharp.Interop/llvm/LLVMJITEvaluatedSymbol.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMJITEvaluatedSymbol.cs rename to sources/LLVMSharp.Interop/llvm/LLVMJITEvaluatedSymbol.cs diff --git a/sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolFlags.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMJITSymbolFlags.cs rename to sources/LLVMSharp.Interop/llvm/LLVMJITSymbolFlags.cs diff --git a/sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMJITSymbolGenericFlags.cs rename to sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs diff --git a/sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs b/sources/LLVMSharp.Interop/llvm/LLVMLandingPadClauseTy.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMLandingPadClauseTy.cs rename to sources/LLVMSharp.Interop/llvm/LLVMLandingPadClauseTy.cs diff --git a/sources/LLVMSharp.Interop/LLVMLinkage.cs b/sources/LLVMSharp.Interop/llvm/LLVMLinkage.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMLinkage.cs rename to sources/LLVMSharp.Interop/llvm/LLVMLinkage.cs diff --git a/sources/LLVMSharp.Interop/LLVMLinkerMode.cs b/sources/LLVMSharp.Interop/llvm/LLVMLinkerMode.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMLinkerMode.cs rename to sources/LLVMSharp.Interop/llvm/LLVMLinkerMode.cs diff --git a/sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs b/sources/LLVMSharp.Interop/llvm/LLVMMCJITCompilerOptions.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMMCJITCompilerOptions.cs rename to sources/LLVMSharp.Interop/llvm/LLVMMCJITCompilerOptions.cs diff --git a/sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs b/sources/LLVMSharp.Interop/llvm/LLVMModuleFlagBehavior.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMModuleFlagBehavior.cs rename to sources/LLVMSharp.Interop/llvm/LLVMModuleFlagBehavior.cs diff --git a/sources/LLVMSharp.Interop/LLVMOpInfo1.cs b/sources/LLVMSharp.Interop/llvm/LLVMOpInfo1.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOpInfo1.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOpInfo1.cs diff --git a/sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs b/sources/LLVMSharp.Interop/llvm/LLVMOpInfoSymbol1.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOpInfoSymbol1.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOpInfoSymbol1.cs diff --git a/sources/LLVMSharp.Interop/LLVMOpcode.cs b/sources/LLVMSharp.Interop/llvm/LLVMOpcode.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOpcode.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOpcode.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCDependenceMapPair.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCDependenceMapPair.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCDependenceMapPair.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCJITDylibSearchOrderElement.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCJITDylibSearchOrderElement.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCJITDylibSearchOrderElement.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCJITDylibSearchOrderElement.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCLookupSetElement.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCLookupSetElement.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCLookupSetElement.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolAliasMapEntry.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapEntry.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolAliasMapEntry.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolAliasMapPair.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCSymbolAliasMapPair.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolAliasMapPair.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolFlagsMapPair.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCSymbolFlagsMapPair.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolFlagsMapPair.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolMapPair.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolMapPair.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCSymbolMapPair.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolMapPair.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolsList.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcCSymbolsList.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcCSymbolsList.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcJITDylibLookupFlags.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcJITDylibLookupFlags.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcJITDylibLookupFlags.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcLookupKind.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcLookupKind.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcLookupKind.cs diff --git a/sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMOrcSymbolLookupFlags.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMOrcSymbolLookupFlags.cs rename to sources/LLVMSharp.Interop/llvm/LLVMOrcSymbolLookupFlags.cs diff --git a/sources/LLVMSharp.Interop/LLVMRealPredicate.cs b/sources/LLVMSharp.Interop/llvm/LLVMRealPredicate.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMRealPredicate.cs rename to sources/LLVMSharp.Interop/llvm/LLVMRealPredicate.cs diff --git a/sources/LLVMSharp.Interop/LLVMRelocMode.cs b/sources/LLVMSharp.Interop/llvm/LLVMRelocMode.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMRelocMode.cs rename to sources/LLVMSharp.Interop/llvm/LLVMRelocMode.cs diff --git a/sources/LLVMSharp.Interop/LLVMRemarkType.cs b/sources/LLVMSharp.Interop/llvm/LLVMRemarkType.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMRemarkType.cs rename to sources/LLVMSharp.Interop/llvm/LLVMRemarkType.cs diff --git a/sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs b/sources/LLVMSharp.Interop/llvm/LLVMThreadLocalMode.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMThreadLocalMode.cs rename to sources/LLVMSharp.Interop/llvm/LLVMThreadLocalMode.cs diff --git a/sources/LLVMSharp.Interop/LLVMTypeKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMTypeKind.cs rename to sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs diff --git a/sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs b/sources/LLVMSharp.Interop/llvm/LLVMUnnamedAddr.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMUnnamedAddr.cs rename to sources/LLVMSharp.Interop/llvm/LLVMUnnamedAddr.cs diff --git a/sources/LLVMSharp.Interop/LLVMValueKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMValueKind.cs rename to sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs diff --git a/sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs b/sources/LLVMSharp.Interop/llvm/LLVMVerifierFailureAction.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMVerifierFailureAction.cs rename to sources/LLVMSharp.Interop/llvm/LLVMVerifierFailureAction.cs diff --git a/sources/LLVMSharp.Interop/LLVMVisibility.cs b/sources/LLVMSharp.Interop/llvm/LLVMVisibility.cs similarity index 100% rename from sources/LLVMSharp.Interop/LLVMVisibility.cs rename to sources/LLVMSharp.Interop/llvm/LLVMVisibility.cs diff --git a/sources/LLVMSharp.Interop/LTOObjectBuffer.cs b/sources/LLVMSharp.Interop/llvm/LTOObjectBuffer.cs similarity index 100% rename from sources/LLVMSharp.Interop/LTOObjectBuffer.cs rename to sources/LLVMSharp.Interop/llvm/LTOObjectBuffer.cs diff --git a/sources/LLVMSharp.Interop/llvm_blake3_chunk_state.cs b/sources/LLVMSharp.Interop/llvm/llvm_blake3_chunk_state.cs similarity index 100% rename from sources/LLVMSharp.Interop/llvm_blake3_chunk_state.cs rename to sources/LLVMSharp.Interop/llvm/llvm_blake3_chunk_state.cs diff --git a/sources/LLVMSharp.Interop/llvm_blake3_hasher.cs b/sources/LLVMSharp.Interop/llvm/llvm_blake3_hasher.cs similarity index 100% rename from sources/LLVMSharp.Interop/llvm_blake3_hasher.cs rename to sources/LLVMSharp.Interop/llvm/llvm_blake3_hasher.cs diff --git a/sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs b/sources/LLVMSharp.Interop/llvm/lto_codegen_diagnostic_severity_t.cs similarity index 100% rename from sources/LLVMSharp.Interop/lto_codegen_diagnostic_severity_t.cs rename to sources/LLVMSharp.Interop/llvm/lto_codegen_diagnostic_severity_t.cs diff --git a/sources/LLVMSharp.Interop/lto_codegen_model.cs b/sources/LLVMSharp.Interop/llvm/lto_codegen_model.cs similarity index 100% rename from sources/LLVMSharp.Interop/lto_codegen_model.cs rename to sources/LLVMSharp.Interop/llvm/lto_codegen_model.cs diff --git a/sources/LLVMSharp.Interop/lto_debug_model.cs b/sources/LLVMSharp.Interop/llvm/lto_debug_model.cs similarity index 100% rename from sources/LLVMSharp.Interop/lto_debug_model.cs rename to sources/LLVMSharp.Interop/llvm/lto_debug_model.cs diff --git a/sources/LLVMSharp.Interop/lto_symbol_attributes.cs b/sources/LLVMSharp.Interop/llvm/lto_symbol_attributes.cs similarity index 100% rename from sources/LLVMSharp.Interop/lto_symbol_attributes.cs rename to sources/LLVMSharp.Interop/llvm/lto_symbol_attributes.cs From 8d4c9d698367ed4c554d5a126295cf17a3538ac3 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:53:40 -0700 Subject: [PATCH 4/7] Regenerating libLLVM bindings --- .../Manual/LLVMMetadataKind.cs | 45 ------- sources/LLVMSharp.Interop/llvm/LLVM.cs | 116 +++--------------- .../{Manual => llvm}/LLVMAttributeIndex.cs | 0 .../llvm/LLVMDWARFSourceLanguage.cs | 9 ++ .../llvm/LLVMJITSymbolGenericFlags.cs | 11 +- .../llvm/LLVMMetadataKind.cs | 46 +++++++ .../LLVMSharp.Interop/llvm/LLVMTypeKind.cs | 1 + .../LLVMSharp.Interop/llvm/LLVMValueKind.cs | 1 + tests/LLVMSharp.UnitTests/.editorconfig | 41 +++++++ .../Interop/llvm_blake3_hasherTests.cs | 2 +- 10 files changed, 121 insertions(+), 151 deletions(-) delete mode 100644 sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs rename sources/LLVMSharp.Interop/{Manual => llvm}/LLVMAttributeIndex.cs (100%) create mode 100644 sources/LLVMSharp.Interop/llvm/LLVMMetadataKind.cs create mode 100644 tests/LLVMSharp.UnitTests/.editorconfig diff --git a/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs b/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs deleted file mode 100644 index 2f43b59..0000000 --- a/sources/LLVMSharp.Interop/Manual/LLVMMetadataKind.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c -// Original source is Copyright (c) the 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 LLVMMetadataKind -{ - LLVMMDStringMetadataKind = 0, - LLVMConstantAsMetadataMetadataKind = 1, - LLVMLocalAsMetadataMetadataKind = 2, - LLVMDistinctMDOperandPlaceholderMetadataKind = 3, - LLVMMDTupleMetadataKind = 4, - LLVMDILocationMetadataKind = 5, - LLVMDIExpressionMetadataKind = 6, - LLVMDIGlobalVariableExpressionMetadataKind = 7, - LLVMGenericDINodeMetadataKind = 8, - LLVMDISubrangeMetadataKind = 9, - LLVMDIEnumeratorMetadataKind = 10, - LLVMDIBasicTypeMetadataKind = 11, - LLVMDIDerivedTypeMetadataKind = 12, - LLVMDICompositeTypeMetadataKind = 13, - LLVMDISubroutineTypeMetadataKind = 14, - LLVMDIFileMetadataKind = 15, - LLVMDICompileUnitMetadataKind = 16, - LLVMDISubprogramMetadataKind = 17, - LLVMDILexicalBlockMetadataKind = 18, - LLVMDILexicalBlockFileMetadataKind = 19, - LLVMDINamespaceMetadataKind = 20, - LLVMDIModuleMetadataKind = 21, - LLVMDITemplateTypeParameterMetadataKind = 22, - LLVMDITemplateValueParameterMetadataKind = 23, - LLVMDIGlobalVariableMetadataKind = 24, - LLVMDILocalVariableMetadataKind = 25, - LLVMDILabelMetadataKind = 26, - LLVMDIObjCPropertyMetadataKind = 27, - LLVMDIImportedEntityMetadataKind = 28, - LLVMDIMacroMetadataKind = 29, - LLVMDIMacroFileMetadataKind = 30, - LLVMDICommonBlockMetadataKind = 31, - LLVMDIStringTypeMetadataKind = 32, - LLVMDIGenericSubrangeMetadataKind = 33, - LLVMDIArgListMetadataKind = 34, -} diff --git a/sources/LLVMSharp.Interop/llvm/LLVM.cs b/sources/LLVMSharp.Interop/llvm/LLVM.cs index 11ec512..ad47346 100644 --- a/sources/LLVMSharp.Interop/llvm/LLVM.cs +++ b/sources/LLVMSharp.Interop/llvm/LLVM.cs @@ -138,6 +138,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMShutdown", ExactSpelling = true)] public static extern void Shutdown(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetVersion", ExactSpelling = true)] + public static extern void GetVersion([NativeTypeName("unsigned int *")] uint* Major, [NativeTypeName("unsigned int *")] uint* Minor, [NativeTypeName("unsigned int *")] uint* Patch); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMCreateMessage", ExactSpelling = true)] [return: NativeTypeName("char *")] public static extern sbyte* CreateMessage([NativeTypeName("const char *")] sbyte* Message); @@ -718,6 +721,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMTypeRef")] public static extern LLVMOpaqueType* X86AMXType(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMTargetExtTypeInContext", ExactSpelling = true)] + [return: NativeTypeName("LLVMTypeRef")] + public static extern LLVMOpaqueType* TargetExtTypeInContext([NativeTypeName("LLVMContextRef")] LLVMOpaqueContext* C, [NativeTypeName("const char *")] sbyte* Name, [NativeTypeName("LLVMTypeRef *")] LLVMOpaqueType** TypeParams, [NativeTypeName("unsigned int")] uint TypeParamCount, [NativeTypeName("unsigned int *")] uint* IntParams, [NativeTypeName("unsigned int")] uint IntParamCount); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMTypeOf", ExactSpelling = true)] [return: NativeTypeName("LLVMTypeRef")] public static extern LLVMOpaqueType* TypeOf([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val); @@ -1282,10 +1289,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* ConstNUWNeg([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstFNeg", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - public static extern LLVMOpaqueValue* ConstFNeg([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstNot", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* ConstNot([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal); @@ -1358,20 +1361,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* ConstAShr([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* LHSConstant, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* RHSConstant); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstGEP", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMConstGEP2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* ConstGEP([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** ConstantIndices, [NativeTypeName("unsigned int")] uint NumIndices); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstGEP2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* ConstGEP2([NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** ConstantIndices, [NativeTypeName("unsigned int")] uint NumIndices); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstInBoundsGEP", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMConstInBoundsGEP2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* ConstInBoundsGEP([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** ConstantIndices, [NativeTypeName("unsigned int")] uint NumIndices); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMConstInBoundsGEP2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* ConstInBoundsGEP2([NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* ConstantVal, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** ConstantIndices, [NativeTypeName("unsigned int")] uint NumIndices); @@ -1622,11 +1615,6 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMSetExternallyInitialized", ExactSpelling = true)] public static extern void SetExternallyInitialized([NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* GlobalVar, [NativeTypeName("LLVMBool")] int IsExtInit); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddAlias", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMAddAlias2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* AddAlias([NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* M, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Aliasee, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddAlias2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* AddAlias2([NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* M, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* ValueTy, [NativeTypeName("unsigned int")] uint AddrSpace, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Aliasee, [NativeTypeName("const char *")] sbyte* Name); @@ -2227,11 +2215,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildIndirectBr([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* B, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Addr, [NativeTypeName("unsigned int")] uint NumDests); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildInvoke", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildInvoke2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildInvoke([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Fn, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Args, [NativeTypeName("unsigned int")] uint NumArgs, [NativeTypeName("LLVMBasicBlockRef")] LLVMOpaqueBasicBlock* Then, [NativeTypeName("LLVMBasicBlockRef")] LLVMOpaqueBasicBlock* Catch, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildInvoke2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildInvoke2([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Fn, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Args, [NativeTypeName("unsigned int")] uint NumArgs, [NativeTypeName("LLVMBasicBlockRef")] LLVMOpaqueBasicBlock* Then, [NativeTypeName("LLVMBasicBlockRef")] LLVMOpaqueBasicBlock* Catch, [NativeTypeName("const char *")] sbyte* Name); @@ -2476,11 +2459,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildFree([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* PointerVal); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildLoad", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildLoad2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildLoad([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* PointerVal, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildLoad2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildLoad2([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* PointerVal, [NativeTypeName("const char *")] sbyte* Name); @@ -2489,21 +2467,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildStore([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Ptr); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildGEP", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildGEP2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildGEP([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* B, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Pointer, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Indices, [NativeTypeName("unsigned int")] uint NumIndices, [NativeTypeName("const char *")] sbyte* Name); - - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildInBoundsGEP", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildInBoundsGEP2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildInBoundsGEP([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* B, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Pointer, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Indices, [NativeTypeName("unsigned int")] uint NumIndices, [NativeTypeName("const char *")] sbyte* Name); - - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildStructGEP", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildStructGEP2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildStructGEP([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* B, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Pointer, [NativeTypeName("unsigned int")] uint Idx, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildGEP2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildGEP2([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* B, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Pointer, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Indices, [NativeTypeName("unsigned int")] uint NumIndices, [NativeTypeName("const char *")] sbyte* Name); @@ -2649,11 +2612,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildPhi([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* Ty, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildCall", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildCall2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildCall([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Fn, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Args, [NativeTypeName("unsigned int")] uint NumArgs, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildCall2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildCall2([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* param1, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Fn, [NativeTypeName("LLVMValueRef *")] LLVMOpaqueValue** Args, [NativeTypeName("unsigned int")] uint NumArgs, [NativeTypeName("const char *")] sbyte* Name); @@ -2698,11 +2656,6 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildIsNotNull([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* Val, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildPtrDiff", ExactSpelling = true)] - [return: NativeTypeName("LLVMValueRef")] - [Obsolete("Use LLVMBuildPtrDiff2 instead to support opaque pointer")] - public static extern LLVMOpaqueValue* BuildPtrDiff([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* LHS, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* RHS, [NativeTypeName("const char *")] sbyte* Name); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMBuildPtrDiff2", ExactSpelling = true)] [return: NativeTypeName("LLVMValueRef")] public static extern LLVMOpaqueValue* BuildPtrDiff2([NativeTypeName("LLVMBuilderRef")] LLVMOpaqueBuilder* param0, [NativeTypeName("LLVMTypeRef")] LLVMOpaqueType* ElemTy, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* LHS, [NativeTypeName("LLVMValueRef")] LLVMOpaqueValue* RHS, [NativeTypeName("const char *")] sbyte* Name); @@ -3467,24 +3420,15 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeScalarOpts", ExactSpelling = true)] public static extern void InitializeScalarOpts([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeObjCARCOpts", ExactSpelling = true)] - public static extern void InitializeObjCARCOpts([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeVectorization", ExactSpelling = true)] public static extern void InitializeVectorization([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeInstCombine", ExactSpelling = true)] public static extern void InitializeInstCombine([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeAggressiveInstCombiner", ExactSpelling = true)] - public static extern void InitializeAggressiveInstCombiner([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeIPO", ExactSpelling = true)] public static extern void InitializeIPO([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeInstrumentation", ExactSpelling = true)] - public static extern void InitializeInstrumentation([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeAnalysis", ExactSpelling = true)] public static extern void InitializeAnalysis([NativeTypeName("LLVMPassRegistryRef")] LLVMOpaquePassRegistry* R); @@ -4250,6 +4194,10 @@ public static unsafe partial class LLVM [return: NativeTypeName("LLVMOrcObjectLayerRef")] public static extern LLVMOrcOpaqueObjectLayer* OrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager([NativeTypeName("LLVMOrcExecutionSessionRef")] LLVMOrcOpaqueExecutionSession* ES); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks", ExactSpelling = true)] + [return: NativeTypeName("LLVMOrcObjectLayerRef")] + public static extern LLVMOrcOpaqueObjectLayer* OrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks([NativeTypeName("LLVMOrcExecutionSessionRef")] LLVMOrcOpaqueExecutionSession* ES, void* CreateContextCtx, [NativeTypeName("LLVMMemoryManagerCreateContextCallback")] delegate* unmanaged[Cdecl] CreateContext, [NativeTypeName("LLVMMemoryManagerNotifyTerminatingCallback")] delegate* unmanaged[Cdecl] NotifyTerminating, [NativeTypeName("LLVMMemoryManagerAllocateCodeSectionCallback")] delegate* unmanaged[Cdecl] AllocateCodeSection, [NativeTypeName("LLVMMemoryManagerAllocateDataSectionCallback")] delegate* unmanaged[Cdecl] AllocateDataSection, [NativeTypeName("LLVMMemoryManagerFinalizeMemoryCallback")] delegate* unmanaged[Cdecl] FinalizeMemory, [NativeTypeName("LLVMMemoryManagerDestroyCallback")] delegate* unmanaged[Cdecl] Destroy); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMOrcRTDyldObjectLinkingLayerRegisterJITEventListener", ExactSpelling = true)] public static extern void OrcRTDyldObjectLinkingLayerRegisterJITEventListener([NativeTypeName("LLVMOrcObjectLayerRef")] LLVMOrcOpaqueObjectLayer* RTDyldObjLinkingLayer, [NativeTypeName("LLVMJITEventListenerRef")] LLVMOpaqueJITEventListener* Listener); @@ -4376,6 +4324,7 @@ public static void InitializeAllTargetInfos() InitializeBPFTargetInfo(); InitializeHexagonTargetInfo(); InitializeLanaiTargetInfo(); + InitializeLoongArchTargetInfo(); InitializeMipsTargetInfo(); InitializeMSP430TargetInfo(); InitializeNVPTXTargetInfo(); @@ -4398,6 +4347,7 @@ public static void InitializeAllTargets() InitializeBPFTarget(); InitializeHexagonTarget(); InitializeLanaiTarget(); + InitializeLoongArchTarget(); InitializeMipsTarget(); InitializeMSP430Target(); InitializeNVPTXTarget(); @@ -4420,6 +4370,7 @@ public static void InitializeAllTargetMCs() InitializeBPFTargetMC(); InitializeHexagonTargetMC(); InitializeLanaiTargetMC(); + InitializeLoongArchTargetMC(); InitializeMipsTargetMC(); InitializeMSP430TargetMC(); InitializeNVPTXTargetMC(); @@ -4442,6 +4393,7 @@ public static void InitializeAllAsmPrinters() InitializeBPFAsmPrinter(); InitializeHexagonAsmPrinter(); InitializeLanaiAsmPrinter(); + InitializeLoongArchAsmPrinter(); InitializeMipsAsmPrinter(); InitializeMSP430AsmPrinter(); InitializeNVPTXAsmPrinter(); @@ -4464,6 +4416,7 @@ public static void InitializeAllAsmParsers() InitializeBPFAsmParser(); InitializeHexagonAsmParser(); InitializeLanaiAsmParser(); + InitializeLoongArchAsmParser(); InitializeMipsAsmParser(); InitializeMSP430AsmParser(); InitializePowerPCAsmParser(); @@ -4484,6 +4437,7 @@ public static void InitializeAllDisassemblers() InitializeBPFDisassembler(); InitializeHexagonDisassembler(); InitializeLanaiDisassembler(); + InitializeLoongArchDisassembler(); InitializeMipsDisassembler(); InitializeMSP430Disassembler(); InitializePowerPCDisassembler(); @@ -4496,36 +4450,6 @@ public static void InitializeAllDisassemblers() InitializeXCoreDisassembler(); } - [return: NativeTypeName("LLVMBool")] - public static int InitializeNativeTarget() - { - InitializeX86TargetInfo(); - InitializeX86Target(); - InitializeX86TargetMC(); - return 0; - } - - [return: NativeTypeName("LLVMBool")] - public static int InitializeNativeAsmParser() - { - InitializeX86AsmParser(); - return 0; - } - - [return: NativeTypeName("LLVMBool")] - public static int InitializeNativeAsmPrinter() - { - InitializeX86AsmPrinter(); - return 0; - } - - [return: NativeTypeName("LLVMBool")] - public static int InitializeNativeDisassembler() - { - InitializeX86Disassembler(); - return 0; - } - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMGetModuleDataLayout", ExactSpelling = true)] [return: NativeTypeName("LLVMTargetDataRef")] public static extern LLVMOpaqueTargetData* GetModuleDataLayout([NativeTypeName("LLVMModuleRef")] LLVMOpaqueModule* M); @@ -4704,9 +4628,6 @@ public static int InitializeNativeDisassembler() [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddAnalysisPasses", ExactSpelling = true)] public static extern void AddAnalysisPasses([NativeTypeName("LLVMTargetMachineRef")] LLVMOpaqueTargetMachine* T, [NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddAggressiveInstCombinerPass", ExactSpelling = true)] - public static extern void AddAggressiveInstCombinerPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddInstructionCombiningPass", ExactSpelling = true)] public static extern void AddInstructionCombiningPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); @@ -4737,9 +4658,6 @@ public static int InitializeNativeDisassembler() [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddGlobalOptimizerPass", ExactSpelling = true)] public static extern void AddGlobalOptimizerPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddPruneEHPass", ExactSpelling = true)] - public static extern void AddPruneEHPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); - [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMAddIPSCCPPass", ExactSpelling = true)] public static extern void AddIPSCCPPass([NativeTypeName("LLVMPassManagerRef")] LLVMOpaquePassManager* PM); diff --git a/sources/LLVMSharp.Interop/Manual/LLVMAttributeIndex.cs b/sources/LLVMSharp.Interop/llvm/LLVMAttributeIndex.cs similarity index 100% rename from sources/LLVMSharp.Interop/Manual/LLVMAttributeIndex.cs rename to sources/LLVMSharp.Interop/llvm/LLVMAttributeIndex.cs diff --git a/sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs b/sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs index 45e4e60..5c41821 100644 --- a/sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs +++ b/sources/LLVMSharp.Interop/llvm/LLVMDWARFSourceLanguage.cs @@ -44,6 +44,15 @@ public enum LLVMDWARFSourceLanguage LLVMDWARFSourceLanguageFortran08, LLVMDWARFSourceLanguageRenderScript, LLVMDWARFSourceLanguageBLISS, + LLVMDWARFSourceLanguageKotlin, + LLVMDWARFSourceLanguageZig, + LLVMDWARFSourceLanguageCrystal, + LLVMDWARFSourceLanguageC_plus_plus_17, + LLVMDWARFSourceLanguageC_plus_plus_20, + LLVMDWARFSourceLanguageC17, + LLVMDWARFSourceLanguageFortran18, + LLVMDWARFSourceLanguageAda2005, + LLVMDWARFSourceLanguageAda2012, LLVMDWARFSourceLanguageMips_Assembler, LLVMDWARFSourceLanguageGOOGLE_RenderScript, LLVMDWARFSourceLanguageBORLAND_Delphi, diff --git a/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs b/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs index 4f97555..1dab0b9 100644 --- a/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs +++ b/sources/LLVMSharp.Interop/llvm/LLVMJITSymbolGenericFlags.cs @@ -7,13 +7,12 @@ namespace LLVMSharp.Interop; -[NativeTypeName("int")] [Flags] -public enum LLVMJITSymbolGenericFlags : uint +public enum LLVMJITSymbolGenericFlags { LLVMJITSymbolGenericFlagsNone = 0, - LLVMJITSymbolGenericFlagsExported = 1U << 0, - LLVMJITSymbolGenericFlagsWeak = 1U << 1, - LLVMJITSymbolGenericFlagsCallable = 1U << 2, - LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly = 1U << 3, + LLVMJITSymbolGenericFlagsExported = 1 << 0, + LLVMJITSymbolGenericFlagsWeak = 1 << 1, + LLVMJITSymbolGenericFlagsCallable = 1 << 2, + LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly = 1 << 3, } diff --git a/sources/LLVMSharp.Interop/llvm/LLVMMetadataKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMMetadataKind.cs new file mode 100644 index 0000000..b53959d --- /dev/null +++ b/sources/LLVMSharp.Interop/llvm/LLVMMetadataKind.cs @@ -0,0 +1,46 @@ +// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-16.0.6/llvm/include/llvm-c +// Original source is Copyright (c) the 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 LLVMMetadataKind +{ + LLVMMDStringMetadataKind, + LLVMConstantAsMetadataMetadataKind, + LLVMLocalAsMetadataMetadataKind, + LLVMDistinctMDOperandPlaceholderMetadataKind, + LLVMMDTupleMetadataKind, + LLVMDILocationMetadataKind, + LLVMDIExpressionMetadataKind, + LLVMDIGlobalVariableExpressionMetadataKind, + LLVMGenericDINodeMetadataKind, + LLVMDISubrangeMetadataKind, + LLVMDIEnumeratorMetadataKind, + LLVMDIBasicTypeMetadataKind, + LLVMDIDerivedTypeMetadataKind, + LLVMDICompositeTypeMetadataKind, + LLVMDISubroutineTypeMetadataKind, + LLVMDIFileMetadataKind, + LLVMDICompileUnitMetadataKind, + LLVMDISubprogramMetadataKind, + LLVMDILexicalBlockMetadataKind, + LLVMDILexicalBlockFileMetadataKind, + LLVMDINamespaceMetadataKind, + LLVMDIModuleMetadataKind, + LLVMDITemplateTypeParameterMetadataKind, + LLVMDITemplateValueParameterMetadataKind, + LLVMDIGlobalVariableMetadataKind, + LLVMDILocalVariableMetadataKind, + LLVMDILabelMetadataKind, + LLVMDIObjCPropertyMetadataKind, + LLVMDIImportedEntityMetadataKind, + LLVMDIMacroMetadataKind, + LLVMDIMacroFileMetadataKind, + LLVMDICommonBlockMetadataKind, + LLVMDIStringTypeMetadataKind, + LLVMDIGenericSubrangeMetadataKind, + LLVMDIArgListMetadataKind, + LLVMDIAssignIDMetadataKind, +} diff --git a/sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs index 38fe99a..077e0e9 100644 --- a/sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs +++ b/sources/LLVMSharp.Interop/llvm/LLVMTypeKind.cs @@ -27,4 +27,5 @@ public enum LLVMTypeKind LLVMScalableVectorTypeKind, LLVMBFloatTypeKind, LLVMX86_AMXTypeKind, + LLVMTargetExtTypeKind, } diff --git a/sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs b/sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs index 8abf484..d9b1cc8 100644 --- a/sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs +++ b/sources/LLVMSharp.Interop/llvm/LLVMValueKind.cs @@ -33,4 +33,5 @@ public enum LLVMValueKind LLVMInlineAsmValueKind, LLVMInstructionValueKind, LLVMPoisonValueValueKind, + LLVMConstantTargetNoneValueKind, } diff --git a/tests/LLVMSharp.UnitTests/.editorconfig b/tests/LLVMSharp.UnitTests/.editorconfig new file mode 100644 index 0000000..94ffcc6 --- /dev/null +++ b/tests/LLVMSharp.UnitTests/.editorconfig @@ -0,0 +1,41 @@ +# Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +############################################################################### +# EditorConfig is awesome: http://EditorConfig.org +############################################################################### + +############################################################################### +# Not top-most EditorConfig file +############################################################################### +root = false + +############################################################################### +# Set dotnet naming rules to: +# disable any parent naming rules since they are not applicable to interop +############################################################################### +[*.cs] +dotnet_naming_rule.async_methods_should_be_pascal_case_suffixed_with_async.severity = none +dotnet_naming_rule.const_fields_and_locals_should_be_pascal_case.severity = none +dotnet_naming_rule.interfaces_should_be_pascal_case_prefixed_with_i.severity = none +dotnet_naming_rule.locals_should_be_camel_case.severity = none +dotnet_naming_rule.parameters_should_be_camel_case.severity = none +dotnet_naming_rule.private_and_internal_static_fields_should_be_camel_case_prefixed_with_s_and_underscore.severity = none +dotnet_naming_rule.private_and_internal_fields_should_be_camel_case_prefixed_with_underscore.severity = none +dotnet_naming_rule.public_and_protected_declarations_should_be_pascal_case.severity = none +dotnet_naming_rule.type_parameters_should_be_pascal_case_prefixed_with_t.severity = none + +############################################################################### +# Set dotnet style options to: +# disable certain parent style options since they are not applicable to interop +############################################################################### +csharp_style_expression_bodied_methods = when_on_single_line:none +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:none +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none +dotnet_style_parentheses_in_other_operators = never_if_unnecessary:none +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:none +dotnet_style_prefer_conditional_expression_over_assignment = true:none +dotnet_style_prefer_conditional_expression_over_return = true:none +csharp_style_prefer_pattern_matching = true:none +csharp_style_var_elsewhere = true:none +csharp_style_var_for_built_in_types = true:none +csharp_style_var_when_type_is_apparent = true:none diff --git a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs index 2654379..45cde52 100644 --- a/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs +++ b/tests/LLVMSharp.UnitTests/Interop/llvm_blake3_hasherTests.cs @@ -9,7 +9,7 @@ namespace LLVMSharp.Interop.UnitTests; /// Provides validation of the struct. -public static unsafe partial class llvm_blake3_hasherTests +public static unsafe partial class @llvm_blake3_hasherTests { /// Validates that the struct is blittable. [Test] From 0c97b16af20750df299402bcdcd4ad78bd6b1df0 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:54:03 -0700 Subject: [PATCH 5/7] Updating managed API surface based on new bindings --- .../Extensions/LLVM.Manual.cs | 340 ++++++++++++++++++ .../Extensions/LLVMBuilderRef.cs | 82 ----- .../Extensions/LLVMModuleRef.cs | 10 - .../Extensions/LLVMPassManagerRef.cs | 2 - .../Extensions/LLVMValueRef.cs | 26 -- 5 files changed, 340 insertions(+), 120 deletions(-) diff --git a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs index 207597b..9dfe5a2 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVM.Manual.cs @@ -30,6 +30,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiTargetInfo", ExactSpelling = true)] public static extern void InitializeLanaiTargetInfo(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchTargetInfo", ExactSpelling = true)] + public static extern void InitializeLoongArchTargetInfo(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsTargetInfo", ExactSpelling = true)] public static extern void InitializeMipsTargetInfo(); @@ -84,6 +87,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiTarget", ExactSpelling = true)] public static extern void InitializeLanaiTarget(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchTarget", ExactSpelling = true)] + public static extern void InitializeLoongArchTarget(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsTarget", ExactSpelling = true)] public static extern void InitializeMipsTarget(); @@ -138,6 +144,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiTargetMC", ExactSpelling = true)] public static extern void InitializeLanaiTargetMC(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchTargetMC", ExactSpelling = true)] + public static extern void InitializeLoongArchTargetMC(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsTargetMC", ExactSpelling = true)] public static extern void InitializeMipsTargetMC(); @@ -192,6 +201,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiAsmPrinter", ExactSpelling = true)] public static extern void InitializeLanaiAsmPrinter(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchAsmPrinter", ExactSpelling = true)] + public static extern void InitializeLoongArchAsmPrinter(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsAsmPrinter", ExactSpelling = true)] public static extern void InitializeMipsAsmPrinter(); @@ -246,6 +258,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiAsmParser", ExactSpelling = true)] public static extern void InitializeLanaiAsmParser(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchAsmParser", ExactSpelling = true)] + public static extern void InitializeLoongArchAsmParser(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsAsmParser", ExactSpelling = true)] public static extern void InitializeMipsAsmParser(); @@ -294,6 +309,9 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLanaiDisassembler", ExactSpelling = true)] public static extern void InitializeLanaiDisassembler(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeLoongArchDisassembler", ExactSpelling = true)] + public static extern void InitializeLoongArchDisassembler(); + [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeMipsDisassembler", ExactSpelling = true)] public static extern void InitializeMipsDisassembler(); @@ -323,4 +341,326 @@ public static unsafe partial class LLVM [DllImport("libLLVM", CallingConvention = CallingConvention.Cdecl, EntryPoint = "LLVMInitializeXCoreDisassembler", ExactSpelling = true)] public static extern void InitializeXCoreDisassembler(); + + [return: NativeTypeName("LLVMBool")] + public static int InitializeNativeTarget() + { + switch (RuntimeInformation.ProcessArchitecture) + { + case Architecture.X86: + case Architecture.X64: + { + InitializeX86TargetInfo(); + InitializeX86Target(); + InitializeX86TargetMC(); + return 0; + } + + case Architecture.Arm: +#if NET7_0_OR_GREATER + case Architecture.Armv6: +#else + case (Architecture)(7): +#endif + { + InitializeARMTargetInfo(); + InitializeARMTarget(); + InitializeARMTargetMC(); + return 0; + } + + case Architecture.Arm64: + { + InitializeAArch64TargetInfo(); + InitializeAArch64Target(); + InitializeAArch64TargetMC(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.Wasm: +#else + case (Architecture)(4): +#endif + { + InitializeWebAssemblyTargetInfo(); + InitializeWebAssemblyTarget(); + InitializeWebAssemblyTargetMC(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.S390x: +#else + case (Architecture)(5): +#endif + { + InitializeSystemZTargetInfo(); + InitializeSystemZTarget(); + InitializeSystemZTargetMC(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.LoongArch64: +#else + case (Architecture)(6): +#endif + { + InitializeLoongArchTargetInfo(); + InitializeLoongArchTarget(); + InitializeLoongArchTargetMC(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.Ppc64le: +#else + case (Architecture)(8): +#endif + { + InitializePowerPCTargetInfo(); + InitializePowerPCTarget(); + InitializePowerPCTargetMC(); + return 0; + } + + + default: + { + return 1; + } + } + } + + [return: NativeTypeName("LLVMBool")] + public static int InitializeNativeAsmParser() + { + switch (RuntimeInformation.ProcessArchitecture) + { + case Architecture.X86: + case Architecture.X64: + { + InitializeX86AsmParser(); + return 0; + } + + case Architecture.Arm: +#if NET7_0_OR_GREATER + case Architecture.Armv6: +#else + case (Architecture)(7): +#endif + { + InitializeARMAsmParser(); + return 0; + } + + case Architecture.Arm64: + { + InitializeAArch64AsmParser(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.Wasm: +#else + case (Architecture)(4): +#endif + { + InitializeWebAssemblyAsmParser(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.S390x: +#else + case (Architecture)(5): +#endif + { + InitializeSystemZAsmParser(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.LoongArch64: +#else + case (Architecture)(6): +#endif + { + InitializeLoongArchAsmParser(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.Ppc64le: +#else + case (Architecture)(8): +#endif + { + InitializePowerPCAsmParser(); + return 0; + } + + + default: + { + return 1; + } + } + } + + [return: NativeTypeName("LLVMBool")] + public static int InitializeNativeAsmPrinter() + { + switch (RuntimeInformation.ProcessArchitecture) + { + case Architecture.X86: + case Architecture.X64: + { + InitializeX86AsmPrinter(); + return 0; + } + + case Architecture.Arm: +#if NET7_0_OR_GREATER + case Architecture.Armv6: +#else + case (Architecture)(7): +#endif + { + InitializeARMAsmPrinter(); + return 0; + } + + case Architecture.Arm64: + { + InitializeAArch64AsmPrinter(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.Wasm: +#else + case (Architecture)(4): +#endif + { + InitializeWebAssemblyAsmPrinter(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.S390x: +#else + case (Architecture)(5): +#endif + { + InitializeSystemZAsmPrinter(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.LoongArch64: +#else + case (Architecture)(6): +#endif + { + InitializeLoongArchAsmPrinter(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.Ppc64le: +#else + case (Architecture)(8): +#endif + { + InitializePowerPCAsmPrinter(); + return 0; + } + + + default: + { + return 1; + } + } + } + + [return: NativeTypeName("LLVMBool")] + public static int InitializeNativeDisassembler() + { + switch (RuntimeInformation.ProcessArchitecture) + { + case Architecture.X86: + case Architecture.X64: + { + InitializeX86Disassembler(); + return 0; + } + + case Architecture.Arm: +#if NET7_0_OR_GREATER + case Architecture.Armv6: +#else + case (Architecture)(7): +#endif + { + InitializeARMDisassembler(); + return 0; + } + + case Architecture.Arm64: + { + InitializeAArch64Disassembler(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.Wasm: +#else + case (Architecture)(4): +#endif + { + InitializeWebAssemblyDisassembler(); + return 0; + } + +#if NET6_0_OR_GREATER + case Architecture.S390x: +#else + case (Architecture)(5): +#endif + { + InitializeSystemZDisassembler(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.LoongArch64: +#else + case (Architecture)(6): +#endif + { + InitializeLoongArchDisassembler(); + return 0; + } + +#if NET7_0_OR_GREATER + case Architecture.Ppc64le: +#else + case (Architecture)(8): +#endif + { + InitializePowerPCDisassembler(); + return 0; + } + + + default: + { + return 1; + } + } + } } diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMBuilderRef.cs b/sources/LLVMSharp.Interop/Extensions/LLVMBuilderRef.cs index 94e4813..7e6647e 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMBuilderRef.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVMBuilderRef.cs @@ -124,19 +124,6 @@ public LLVMValueRef BuildBitCast(LLVMValueRef Val, LLVMTypeRef DestTy, ReadOnlyS public LLVMValueRef BuildBr(LLVMBasicBlockRef Dest) => LLVM.BuildBr(this, Dest); - [Obsolete("Use BuildCall2 instead to support opaque pointer")] - public LLVMValueRef BuildCall(LLVMValueRef Fn, LLVMValueRef[] Args, string Name = "") => BuildCall(Fn, Args.AsSpan(), Name.AsSpan()); - - [Obsolete("Use BuildCall2 instead to support opaque pointer")] - public LLVMValueRef BuildCall(LLVMValueRef Fn, ReadOnlySpan Args, ReadOnlySpan Name) - { - fixed (LLVMValueRef* pArgs = Args) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildCall(this, Fn, (LLVMOpaqueValue**)pArgs, (uint)Args.Length, marshaledName); - } - } - public LLVMValueRef BuildCall2(LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef[] Args, string Name = "") => BuildCall2(Ty, Fn, Args.AsSpan(), Name.AsSpan()); public LLVMValueRef BuildCall2(LLVMTypeRef Ty, LLVMValueRef Fn, ReadOnlySpan Args, ReadOnlySpan Name) @@ -296,19 +283,6 @@ public LLVMValueRef BuildFSub(LLVMValueRef LHS, LLVMValueRef RHS, ReadOnlySpan BuildGEP(Pointer, Indices.AsSpan(), Name.AsSpan()); - - [Obsolete("Use BuildGEP2 instead to support opaque pointer")] - public LLVMValueRef BuildGEP(LLVMValueRef Pointer, ReadOnlySpan Indices, ReadOnlySpan Name) - { - fixed (LLVMValueRef* pIndices = Indices) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildGEP(this, Pointer, (LLVMOpaqueValue**)pIndices, (uint)Indices.Length, marshaledName); - } - } - public LLVMValueRef BuildGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef[] Indices, string Name = "") => BuildGEP2(Ty, Pointer, Indices.AsSpan(), Name.AsSpan()); public LLVMValueRef BuildGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, ReadOnlySpan Indices, ReadOnlySpan Name) @@ -346,19 +320,6 @@ public LLVMValueRef BuildICmp(LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRe return LLVM.BuildICmp(this, Op, LHS, RHS, marshaledName); } - [Obsolete("Use BuildInBoundsGEP2 instead to support opaque pointer")] - public LLVMValueRef BuildInBoundsGEP(LLVMValueRef Pointer, LLVMValueRef[] Indices, string Name = "") => BuildInBoundsGEP(Pointer, Indices.AsSpan(), Name.AsSpan()); - - [Obsolete("Use BuildInBoundsGEP2 instead to support opaque pointer")] - public LLVMValueRef BuildInBoundsGEP(LLVMValueRef Pointer, ReadOnlySpan Indices, ReadOnlySpan Name) - { - fixed (LLVMValueRef* pIndices = Indices) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildInBoundsGEP(this, Pointer, (LLVMOpaqueValue**)pIndices, (uint)Indices.Length, marshaledName); - } - } - public LLVMValueRef BuildInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef[] Indices, string Name = "") => BuildInBoundsGEP2(Ty, Pointer, Indices.AsSpan(), Name.AsSpan()); public LLVMValueRef BuildInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, ReadOnlySpan Indices, ReadOnlySpan Name) @@ -404,19 +365,6 @@ public LLVMValueRef BuildIntToPtr(LLVMValueRef Val, LLVMTypeRef DestTy, ReadOnly return LLVM.BuildIntToPtr(this, Val, DestTy, marshaledName); } - [Obsolete("Use BuildInvoke2 instead to support opaque pointer")] - public LLVMValueRef BuildInvoke(LLVMValueRef Fn, LLVMValueRef[] Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, string Name = "") => BuildInvoke(Fn, Args.AsSpan(), Then, Catch, Name.AsSpan()); - - [Obsolete("Use BuildInvoke2 instead to support opaque pointer")] - public LLVMValueRef BuildInvoke(LLVMValueRef Fn, ReadOnlySpan Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, ReadOnlySpan Name) - { - fixed (LLVMValueRef* pArgs = Args) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildInvoke(this, Fn, (LLVMOpaqueValue**)pArgs, (uint)Args.Length, Then, Catch, marshaledName); - } - } - public LLVMValueRef BuildInvoke2(LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef[] Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, string Name = "") => BuildInvoke2(Ty, Fn, Args.AsSpan(), Then, Catch, Name.AsSpan()); public LLVMValueRef BuildInvoke2(LLVMTypeRef Ty, LLVMValueRef Fn, ReadOnlySpan Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, ReadOnlySpan Name) @@ -452,16 +400,6 @@ public LLVMValueRef BuildLandingPad(LLVMTypeRef Ty, LLVMValueRef PersFn, uint Nu return LLVM.BuildLandingPad(this, Ty, PersFn, NumClauses, marshaledName); } - [Obsolete("Use BuildLoad2 instead to support opaque pointer")] - public LLVMValueRef BuildLoad(LLVMValueRef PointerVal, string Name = "") => BuildLoad(PointerVal, Name.AsSpan()); - - [Obsolete("Use BuildLoad2 instead to support opaque pointer")] - public LLVMValueRef BuildLoad(LLVMValueRef PointerVal, ReadOnlySpan Name) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildLoad(this, PointerVal, marshaledName); - } - public LLVMValueRef BuildLoad2(LLVMTypeRef Ty, LLVMValueRef PointerVal, string Name = "") => BuildLoad2(Ty, PointerVal, Name.AsSpan()); public LLVMValueRef BuildLoad2(LLVMTypeRef Ty, LLVMValueRef PointerVal, ReadOnlySpan Name) @@ -598,16 +536,6 @@ public LLVMValueRef BuildPointerCast(LLVMValueRef Val, LLVMTypeRef DestTy, ReadO return LLVM.BuildPointerCast(this, Val, DestTy, marshaledName); } - [Obsolete("Use BuildPtrDiff2 instead to support opaque pointer")] - public LLVMValueRef BuildPtrDiff(LLVMValueRef LHS, LLVMValueRef RHS, string Name = "") => BuildPtrDiff(LHS, RHS, Name.AsSpan()); - - [Obsolete("Use BuildPtrDiff2 instead to support opaque pointer")] - public LLVMValueRef BuildPtrDiff(LLVMValueRef LHS, LLVMValueRef RHS, ReadOnlySpan Name) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildPtrDiff(this, LHS, RHS, marshaledName); - } - public LLVMValueRef BuildPtrDiff2(LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, string Name = "") => BuildPtrDiff2(ElemTy, LHS, RHS, Name.AsSpan()); public LLVMValueRef BuildPtrDiff2(LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, ReadOnlySpan Name) @@ -696,16 +624,6 @@ public LLVMValueRef BuildSRem(LLVMValueRef LHS, LLVMValueRef RHS, ReadOnlySpan LLVM.BuildStore(this, Val, Ptr); - [Obsolete("Use BuildStructGEP2 instead to support opaque pointer")] - public LLVMValueRef BuildStructGEP(LLVMValueRef Pointer, uint Idx, string Name = "") => BuildStructGEP(Pointer, Idx, Name.AsSpan()); - - [Obsolete("Use BuildStructGEP2 instead to support opaque pointer")] - public LLVMValueRef BuildStructGEP(LLVMValueRef Pointer, uint Idx, ReadOnlySpan Name) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.BuildStructGEP(this, Pointer, Idx, marshaledName); - } - public LLVMValueRef BuildStructGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, uint Idx, string Name = "") => BuildStructGEP2(Ty, Pointer, Idx, Name.AsSpan()); public LLVMValueRef BuildStructGEP2(LLVMTypeRef Ty, LLVMValueRef Pointer, uint Idx, ReadOnlySpan Name) diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMModuleRef.cs b/sources/LLVMSharp.Interop/Extensions/LLVMModuleRef.cs index 75ef933..9534200 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMModuleRef.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVMModuleRef.cs @@ -92,16 +92,6 @@ public static LLVMModuleRef CreateWithName(ReadOnlySpan ModuleID) return LLVM.ModuleCreateWithName(marshaledModuleID); } - [Obsolete("Use AddAlias2 instead to support opaque pointer")] - public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, string Name) => AddAlias(Ty, Aliasee, Name.AsSpan()); - - [Obsolete("Use AddAlias2 instead to support opaque pointer")] - public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, ReadOnlySpan Name) - { - using var marshaledName = new MarshaledString(Name); - return LLVM.AddAlias(this, Ty, Aliasee, marshaledName); - } - public LLVMValueRef AddAlias2(LLVMTypeRef ValueTy, uint AddrSpace, LLVMValueRef Aliasee, string Name) => AddAlias2(ValueTy, AddrSpace, Aliasee, Name.AsSpan()); public LLVMValueRef AddAlias2(LLVMTypeRef ValueTy, uint AddrSpace, LLVMValueRef Aliasee, ReadOnlySpan Name) diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMPassManagerRef.cs b/sources/LLVMSharp.Interop/Extensions/LLVMPassManagerRef.cs index 14d5e98..75f944b 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMPassManagerRef.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVMPassManagerRef.cs @@ -105,8 +105,6 @@ public LLVMPassManagerRef(IntPtr handle) public void AddPromoteMemoryToRegisterPass() => LLVM.AddPromoteMemoryToRegisterPass(this); - public void AddPruneEHPass() => LLVM.AddPruneEHPass(this); - public void AddReassociatePass() => LLVM.AddReassociatePass(this); public void AddScalarizerPass() => LLVM.AddScalarizerPass(this); diff --git a/sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs b/sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs index 8bdd316..8565acd 100644 --- a/sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs +++ b/sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs @@ -700,8 +700,6 @@ public static LLVMValueRef CreateConstArray(LLVMTypeRef ElementTy, ReadOnlySpan< public static LLVMValueRef CreateConstExtractElement(LLVMValueRef VectorConstant, LLVMValueRef IndexConstant) => LLVM.ConstExtractElement(VectorConstant, IndexConstant); - public static LLVMValueRef CreateConstFNeg(LLVMValueRef ConstantVal) => LLVM.ConstFNeg(ConstantVal); - public static LLVMValueRef CreateConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) => LLVM.ConstFPCast(ConstantVal, ToType); public static LLVMValueRef CreateConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) => LLVM.ConstFPExt(ConstantVal, ToType); @@ -712,18 +710,6 @@ public static LLVMValueRef CreateConstArray(LLVMTypeRef ElementTy, ReadOnlySpan< public static LLVMValueRef CreateConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) => LLVM.ConstFPTrunc(ConstantVal, ToType); - [Obsolete("Use CreateConstGEP2 instead to support opaque pointer")] - public static LLVMValueRef CreateConstGEP(LLVMValueRef ConstantVal, LLVMValueRef[] ConstantIndices) => CreateConstGEP(ConstantVal, ConstantIndices.AsSpan()); - - [Obsolete("Use CreateConstGEP2 instead to support opaque pointer")] - public static LLVMValueRef CreateConstGEP(LLVMValueRef ConstantVal, ReadOnlySpan ConstantIndices) - { - fixed (LLVMValueRef* pConstantIndices = ConstantIndices) - { - return LLVM.ConstGEP(ConstantVal, (LLVMOpaqueValue**)pConstantIndices, (uint)ConstantIndices.Length); - } - } - public static LLVMValueRef CreateConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef[] ConstantIndices) => CreateConstGEP2(Ty, ConstantVal, ConstantIndices.AsSpan()); public static LLVMValueRef CreateConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, ReadOnlySpan ConstantIndices) @@ -734,18 +720,6 @@ public static LLVMValueRef CreateConstGEP2(LLVMTypeRef Ty, LLVMValueRef Constant } } - [Obsolete("Use CreateConstInBoundsGEP2 instead to support opaque pointer")] - public static LLVMValueRef CreateConstInBoundsGEP(LLVMValueRef ConstantVal, LLVMValueRef[] ConstantIndices) => CreateConstInBoundsGEP(ConstantVal, ConstantIndices.AsSpan()); - - [Obsolete("Use CreateConstInBoundsGEP2 instead to support opaque pointer")] - public static LLVMValueRef CreateConstInBoundsGEP(LLVMValueRef ConstantVal, ReadOnlySpan ConstantIndices) - { - fixed (LLVMValueRef* pConstantIndices = ConstantIndices) - { - return LLVM.ConstInBoundsGEP(ConstantVal, (LLVMOpaqueValue**)pConstantIndices, (uint)ConstantIndices.Length); - } - } - public static LLVMValueRef CreateConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef[] ConstantIndices) => CreateConstInBoundsGEP2(Ty, ConstantVal, ConstantIndices.AsSpan()); public static LLVMValueRef CreateConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, ReadOnlySpan ConstantIndices) From e7f931e0e120c79efcb29a7627a67688d8c8449b Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 09:54:34 -0700 Subject: [PATCH 6/7] Updating to latest package versions --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index f9a8890..745fca5 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,10 +14,10 @@ - + - + From f22e43dafce263abb6c909708d78b11854f476ef Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 21 Jun 2023 11:04:17 -0700 Subject: [PATCH 7/7] Exclude a test on 32-bit --- tests/LLVMSharp.UnitTests/Examples.cs | 1 + tests/LLVMSharp.UnitTests/IR.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/LLVMSharp.UnitTests/Examples.cs b/tests/LLVMSharp.UnitTests/Examples.cs index 97c9219..86b229b 100644 --- a/tests/LLVMSharp.UnitTests/Examples.cs +++ b/tests/LLVMSharp.UnitTests/Examples.cs @@ -12,6 +12,7 @@ public class Examples private delegate int BinaryInt32Operation(int op1, int op2); [Test] + [Platform(Exclude = "32-bit")] public void Intro() { using var module = LLVMModuleRef.CreateWithName("LLVMSharpIntro"); diff --git a/tests/LLVMSharp.UnitTests/IR.cs b/tests/LLVMSharp.UnitTests/IR.cs index 948029b..04f6215 100644 --- a/tests/LLVMSharp.UnitTests/IR.cs +++ b/tests/LLVMSharp.UnitTests/IR.cs @@ -7,6 +7,7 @@ namespace LLVMSharp.UnitTests; +[Platform(Exclude = "32-bit")] public class IR { [Test]