[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 17:33:16 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/3786

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[299/305] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[300/305] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[301/305] Building CXX object tools/clang/unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o
[302/305] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests
[303/305] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
[304/305] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[304/305] Running the Clang regression tests
-- Testing: 20977 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0.. 10.. 20.. 30
FAIL: Clang :: CodeGen/overflow-idiom-exclusion-fp.c (7384 of 20977)
******************** TEST 'Clang :: CodeGen/overflow-idiom-exclusion-fp.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c -O2 -fsanitize=signed-integer-overflow,unsigned-integer-overflow -fsanitize-overflow-pattern-exclusion=all -S -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c -O2 -fsanitize=signed-integer-overflow,unsigned-integer-overflow -fsanitize-overflow-pattern-exclusion=all -S -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:14:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler.
           ^
<stdin>:29:43: note: scanning from here
define dso_local void @close_but_not_quite() local_unnamed_addr #0 {
                                          ^
<stdin>:40:19: note: possible intended match here
 tail call void @__ubsan_handle_add_overflow(ptr nonnull @1, i64 %7, i64 %8) #4, !nosanitize !9
                  ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:63:11: error: CHECK: expected string not found in input
// CHECK: br i1{{.*}}handler
          ^
<stdin>:263:47: note: scanning from here
define dso_local void @ZSTD_selectEncodingType() local_unnamed_addr #0 {
                                              ^
<stdin>:278:2: note: possible intended match here
 br i1 %10, label %11, label %13, !prof !10, !nosanitize !9
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:74:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler
           ^
<stdin>:300:38: note: scanning from here
define dso_local void @function_calls() local_unnamed_addr #0 {
                                     ^
<stdin>:311:19: note: possible intended match here
 tail call void @__ubsan_handle_add_overflow(ptr nonnull @13, i64 %7, i64 %8) #4, !nosanitize !9
                  ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:81:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler
           ^
Step 8 (check-llvm) failure: check-llvm (failure)
...
[299/305] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[300/305] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[301/305] Building CXX object tools/clang/unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o
[302/305] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests
[303/305] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
[304/305] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[304/305] Running the Clang regression tests
-- Testing: 20977 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0.. 10.. 20.. 30
FAIL: Clang :: CodeGen/overflow-idiom-exclusion-fp.c (7384 of 20977)
******************** TEST 'Clang :: CodeGen/overflow-idiom-exclusion-fp.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c -O2 -fsanitize=signed-integer-overflow,unsigned-integer-overflow -fsanitize-overflow-pattern-exclusion=all -S -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c -O2 -fsanitize=signed-integer-overflow,unsigned-integer-overflow -fsanitize-overflow-pattern-exclusion=all -S -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:14:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler.
           ^
<stdin>:29:43: note: scanning from here
define dso_local void @close_but_not_quite() local_unnamed_addr #0 {
                                          ^
<stdin>:40:19: note: possible intended match here
 tail call void @__ubsan_handle_add_overflow(ptr nonnull @1, i64 %7, i64 %8) #4, !nosanitize !9
                  ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:63:11: error: CHECK: expected string not found in input
// CHECK: br i1{{.*}}handler
          ^
<stdin>:263:47: note: scanning from here
define dso_local void @ZSTD_selectEncodingType() local_unnamed_addr #0 {
                                              ^
<stdin>:278:2: note: possible intended match here
 br i1 %10, label %11, label %13, !prof !10, !nosanitize !9
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:74:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler
           ^
<stdin>:300:38: note: scanning from here
define dso_local void @function_calls() local_unnamed_addr #0 {
                                     ^
<stdin>:311:19: note: possible intended match here
 tail call void @__ubsan_handle_add_overflow(ptr nonnull @13, i64 %7, i64 %8) #4, !nosanitize !9
                  ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/overflow-idiom-exclusion-fp.c:81:12: error: CHECK: expected string not found in input
 // CHECK: br i1{{.*}}handler
           ^

```

https://github.com/llvm/llvm-project/pull/100272


More information about the cfe-commits mailing list