[WebAssembly] Remove __c_longjmp from compiler-rt#185798
Conversation
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.
|
r? @sbc100 |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/18383 Here is the relevant piece of the build log for the reference |
|
@sbc100 When we merge this downstream in emscripten, where do you plan to add |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/38/builds/8167 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/14140 Here is the relevant piece of the build log for the reference |
This is similar to #185770 where it removes an
exception-handling-related symbol from
compiler-rtin 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 oflongjmpitself. An example of this is WebAssembly/wasi-libc#772 where the responsibility of defining this symbol now lies with wasi-libc.