[llvm] [HWASan] remove incorrectly inferred attributes (PR #106565)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 13:04:07 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 6 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/5402
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: CodeGen/address-safety-attr-flavors.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 8: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-NOASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-NOASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 11: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=address -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-ASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=address -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-ASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 15: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=kernel-address -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-KASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-KASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=kernel-address -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 19: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=hwaddress -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-HWASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=hwaddress -disable-O0-optnone -emit-llvm -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=CHECK-HWASAN /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp:31:18: error: CHECK-HWASAN: expected string not found in input
// CHECK-HWASAN: Function Attrs: mustprogress noinline nounwind sanitize_hwaddress
^
<stdin>:1:1: note: scanning from here
; ModuleID = '/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp'
^
<stdin>:18:3: note: possible intended match here
; Function Attrs: mustprogress nobuiltin noinline nounwind sanitize_hwaddress
^
Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp'
check:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: source_filename = "/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/address-safety-attr-flavors.cpp"
check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128"
check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: target triple = "i386-unknown-linux"
check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5:
check:31'0 ~
6: $hwasan.module_ctor = comdat any
check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
13: @hwasan.dummy.global = private constant [0 x i8] zeroinitializer, section "hwasan_globals", comdat($hwasan.module_ctor), !associated !0
...
```
</details>
https://github.com/llvm/llvm-project/pull/106565
More information about the llvm-commits
mailing list