[clang] [llvm] [SystemZ] Add support for __builtin_setjmp and __builtin_longjmp (PR #116642)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 15:05:04 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/9334
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[824/1353] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/wasm-ld
-- Testing: 21632 tests, 60 workers --
Testing: 0.. 10.. 20.
FAIL: Clang :: CodeGen/SystemZ/builtin-setjmp-logjmp.c (6030 of 21632)
******************** TEST 'Clang :: CodeGen/SystemZ/builtin-setjmp-logjmp.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang --target=s390x-linux -S -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang --target=s390x-linux -S -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c:7:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:14:1: note: 'next' match was here
; Function Attrs: nounwind
^
<stdin>:9:34: note: previous match ended here
define dso_local void @foo() #0 {
^
<stdin>:10:1: note: non-matching line after previous match is here
%1 = call i32 @llvm.eh.sjlj.setjmp(ptr @buf)
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c:18:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:23:1: note: 'next' match was here
; Function Attrs: noreturn nounwind
^
<stdin>:18:35: note: previous match ended here
define dso_local void @foo1() #0 {
^
<stdin>:19:1: note: non-matching line after previous match is here
call void @llvm.eh.sjlj.longjmp(ptr @buf)
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
-dump-input=help explains the following input dump.
Step 7 (check) failure: check (failure)
...
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[824/1353] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/wasm-ld
-- Testing: 21632 tests, 60 workers --
Testing: 0.. 10.. 20.
FAIL: Clang :: CodeGen/SystemZ/builtin-setjmp-logjmp.c (6030 of 21632)
******************** TEST 'Clang :: CodeGen/SystemZ/builtin-setjmp-logjmp.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang --target=s390x-linux -S -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/clang --target=s390x-linux -S -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-tt5pf60t/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c:7:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:14:1: note: 'next' match was here
; Function Attrs: nounwind
^
<stdin>:9:34: note: previous match ended here
define dso_local void @foo() #0 {
^
<stdin>:10:1: note: non-matching line after previous match is here
%1 = call i32 @llvm.eh.sjlj.setjmp(ptr @buf)
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c:18:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:23:1: note: 'next' match was here
; Function Attrs: noreturn nounwind
^
<stdin>:18:35: note: previous match ended here
define dso_local void @foo1() #0 {
^
<stdin>:19:1: note: non-matching line after previous match is here
call void @llvm.eh.sjlj.longjmp(ptr @buf)
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/SystemZ/builtin-setjmp-logjmp.c
-dump-input=help explains the following input dump.
```
</details>
https://github.com/llvm/llvm-project/pull/116642
More information about the cfe-commits
mailing list