Skip to content

Commit 8b2e6a2

Browse files
committed
Updated to Clang 12.0.1.
1 parent 3b88559 commit 8b2e6a2

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

.github/workflows/ClangSharp.Pathogen.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ jobs:
6262
id: cached-llvm
6363
uses: actions/cache@v2
6464
with:
65-
# Bumped to -2 to include the Clang resource directory
66-
key: llvm-output-${{runner.os}}-${{steps.llvm.outputs.revision}}-2
65+
key: llvm-output-${{runner.os}}-${{steps.llvm.outputs.revision}}
6766
# These are the paths of the external files required in ClangSharp.Pathogen.Runtime.csproj
6867
# (Make sure this is syncronized with "Archive LLVM Outputs" below)
6968
path: |

ClangSharp.Pathogen.Runtime/ClangSharp.Pathogen.Runtime.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<LibClangPathogenPathWindows>$(MSBuildThisFileDirectory)../build/bin/libclang.dll</LibClangPathogenPathWindows>
1010
<LibClangPathogenPathLinux>$(MSBuildThisFileDirectory)../build-linux/lib/libclang.so</LibClangPathogenPathLinux>
1111
<PathogenExtensionsCppPath>$(MSBuildThisFileDirectory)../external/llvm-project/clang/tools/libclang/PathogenExtensions.cpp</PathogenExtensionsCppPath>
12-
<ClangResourceDirectoryPath>$(MSBuildThisFileDirectory)../build-linux/lib/clang/10.0.0/</ClangResourceDirectoryPath>
12+
<ClangResourceDirectoryPath>$(MSBuildThisFileDirectory)../build-linux/lib/clang/12.0.1/</ClangResourceDirectoryPath>
1313
<LicenseFilePath>$(MSBuildThisFileDirectory)../external/llvm-project/clang/LICENSE.TXT</LicenseFilePath>
1414

1515
<!-- Package Info -->

ClangSharp.Pathogen/ClangSharp.Pathogen.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616
<ItemGroup>
1717
<!-- This is pinned to a specific version since ClangSharp.Pathogen.Runtime includes libClangSharp -->
18-
<PackageReference Include="ClangSharp" Version="[10.0.0-beta]" />
18+
<PackageReference Include="ClangSharp" Version="[12.0.0-beta2]" />
1919
</ItemGroup>
2020
<ItemGroup>
2121
<!--

ClangSharp.Pathogen/PathogenArgumentInfo.cs

+5
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ public readonly struct PathogenArgumentInfo
1515
/// For Kind = InAlloca: AllocaFieldIndex
1616
/// </summary>
1717
public readonly uint Extra;
18+
19+
/// <summary>
20+
/// For Kind = IndirectAliased: IndirectAddrSpace
21+
/// </summary>
22+
public readonly uint Extra2;
1823
}
1924
}

ClangSharp.Pathogen/PathogenArgumentKind.cs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public enum PathogenArgumentKind : byte
55
Direct,
66
Extend,
77
Indirect,
8+
IndirectAliased,
89
Ignore,
910
Expand,
1011
CoerceAndExpand,

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This repo contains C# bindings for the [libclang Pathogen Extensions](https://github.com/InfectedLibraries/llvm-project) as well as other utilities used by Biohazrd for interacting with ClangSharp.
88

9-
Currently this project targets libclang 10.0.0 and ClangSharp 10.0.0-beta. The NuGet package is currently built for Windows x64 and Linux x64 (glibc >= 2.27).
9+
Currently this project targets libclang 12.0.1 and ClangSharp 12.0.0-beta2. The NuGet package is currently built for Windows x64 and Linux x64 (glibc >= 2.27).
1010

1111
## License
1212

external/llvm-project

0 commit comments

Comments
 (0)