[clang] [NFC][clang] Add ubsan-trap-merge.c test to show absence of nomerge (PR #117649)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 26 14:44:47 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `clang` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/15879
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/ubsan-trap-merge.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 5: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow -O3 -mllvm -ubsan-unique-traps /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c -o - | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow -O3 -mllvm -ubsan-unique-traps /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c -o -
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c:10:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: define dso_local noundef i32 @f(
^
<stdin>:1:1: note: scanning from here
; ModuleID = '/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c'
^
<stdin>:72:1: note: possible intended match here
define dso_local noundef i32 @m(i32 noundef %x, i32 noundef %y) local_unnamed_addr #0 {
^
Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c'
label:10'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: source_filename = "/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CodeGen/ubsan-trap-merge.c"
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: target triple = "x86_64-unknown-linux-gnu"
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5:
label:10'0 ~
6: ; Function Attrs: nounwind
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
67: %cond = tail call i32 @llvm.smin.i32(i32 %5, i32 %4)
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68: ret i32 %cond
label:10'0 ~~~~~~~~~~~~~~~
69: }
label:10'0 ~~
70:
label:10'0 ~
71: ; Function Attrs: nounwind
label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/117649
More information about the cfe-commits
mailing list