Test with LLVM 22 in CI, fix a setjmp/longjmp issue #772
Merged
alexcrichton merged 1 commit intoWebAssembly:mainfrom Mar 11, 2026
Merged
Test with LLVM 22 in CI, fix a setjmp/longjmp issue #772alexcrichton merged 1 commit intoWebAssembly:mainfrom
alexcrichton merged 1 commit intoWebAssembly:mainfrom
Conversation
sbc100
pushed a commit
to llvm/llvm-project
that referenced
this pull request
Mar 11, 2026
This is similar to #185770 where it removes an exception-handling-related symbol from `compiler-rt` in favor of having definitions elsewhere. The compiler-rt library is linked into all shared objects, for example, which can result in duplicate definitions of a symbol where this tag wants to have one unique definition. The intention behind this commit is to defer the definition of this symbol to downstream libraries, such as the definition of `longjmp` itself. An example of this is WebAssembly/wasi-libc#772 where the responsibility of defining this symbol now lies with wasi-libc.
llvm-sync bot
pushed a commit
to arm/arm-toolchain
that referenced
this pull request
Mar 11, 2026
This is similar to #185770 where it removes an exception-handling-related symbol from `compiler-rt` in favor of having definitions elsewhere. The compiler-rt library is linked into all shared objects, for example, which can result in duplicate definitions of a symbol where this tag wants to have one unique definition. The intention behind this commit is to defer the definition of this symbol to downstream libraries, such as the definition of `longjmp` itself. An example of this is WebAssembly/wasi-libc#772 where the responsibility of defining this symbol now lies with wasi-libc.
dicej
approved these changes
Mar 11, 2026
This commit adds a new CI builder for LLVM 22, distinct from preexisting builders using LLVM 20. This notably exposes a bug where setjmp/longjmp needed a fix because the method of definition of `__c_setjmp`, the tag used, changed in LLVM 22.
shermpay
pushed a commit
to shermpay/llvm-project
that referenced
this pull request
Mar 12, 2026
This is similar to llvm#185770 where it removes an exception-handling-related symbol from `compiler-rt` in favor of having definitions elsewhere. The compiler-rt library is linked into all shared objects, for example, which can result in duplicate definitions of a symbol where this tag wants to have one unique definition. The intention behind this commit is to defer the definition of this symbol to downstream libraries, such as the definition of `longjmp` itself. An example of this is WebAssembly/wasi-libc#772 where the responsibility of defining this symbol now lies with wasi-libc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a new CI builder for LLVM 22, distinct from preexisting
builders using LLVM 20. This notably exposes a bug where setjmp/longjmp
needed a fix because the method of definition of
__c_setjmp, the tagused, changed in LLVM 22.