Skip to content

Update llvm-libunwind to 22.1.1#126155

Open
am11 wants to merge 4 commits intodotnet:mainfrom
am11:feature/vendor/llvm-libunwind
Open

Update llvm-libunwind to 22.1.1#126155
am11 wants to merge 4 commits intodotnet:mainfrom
am11:feature/vendor/llvm-libunwind

Conversation

@am11
Copy link
Member

@am11 am11 commented Mar 26, 2026

Update step (first commit):

$ LLVM_VER=22.1.0
$ DEST=src/native/external/llvm-libunwind
$ rm -rf $DEST && mkdir $DEST
$ curl -sSL https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-$LLVM_VER.tar.gz |
    tar -C $DEST --strip-components=2 -xz -f - llvm-project-llvmorg-$LLVM_VER/libunwind

Second commit cherry-picks old patches commit and third commit reference second commit in versions file.

Important

This PR should be merged without squashing to keep commit references.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 26, 2026
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

@am11 am11 force-pushed the feature/vendor/llvm-libunwind branch from e3a5de8 to 9439632 Compare March 26, 2026 16:32
@am11 am11 changed the title Extract libunwind from llvm 22.1.0 archive Update llvm-libunwind to 22.1.1 Mar 26, 2026
@am11
Copy link
Member Author

am11 commented Mar 26, 2026

@mthalman, we could set up Renovate or train Copilot to handle this automatically alongside PRs like dotnet/dotnet-buildtools-prereqs-docker#1614. It’s not strictly required to keep llvm-libunwind in sync with the toolchain, but it’s good hygiene and helps prevent it from being overlooked. The second and third commit interlinked reference thing (see PR description) is a bit tricky but AI can figure it out by looking at this series of PRs (previous update: #113513). 🙂

@am11 am11 requested review from janvorli and jkotas March 26, 2026 16:40
@am11 am11 force-pushed the feature/vendor/llvm-libunwind branch from 9439632 to ab9c83a Compare March 26, 2026 17:15
@jkotas
Copy link
Member

jkotas commented Mar 26, 2026

/azp run runtime-nativeaot-outerloop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants