depot/third_party/nixpkgs/pkgs/development/compilers/graalvm/002_setjmp.c.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

16 lines
615 B
Diff

diff --git a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
index 16b869354d8..3691739d13b 100644
--- a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
+++ b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
@@ -41,11 +41,3 @@ int sigsetjmp(sigjmp_buf env, int savesigs) {
WARN_UNSUPPORTED(sigsetjmp);
return 0;
}
-
-void longjmp(jmp_buf env, int val) {
- ERR_UNSUPPORTED(longjmp);
-}
-
-void siglongjmp(sigjmp_buf env, int val) {
- ERR_UNSUPPORTED(siglongjmp);
-}