[llvm] [HWASan] remove incorrectly inferred attributes (PR #106565)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 13:12:00 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/4712
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/address-safety-attr-flavors.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 8: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-NOASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-NOASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 11: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=address -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-ASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=address -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-ASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 15: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=kernel-address -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-KASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=kernel-address -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-KASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
RUN: at line 19: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=hwaddress -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-HWASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=CHECK-HWASAN /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple i386-unknown-linux -fsanitize=hwaddress -disable-O0-optnone -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp:31:18: [0m[0;1;31merror: [0m[1mCHECK-HWASAN: expected string not found in input
[0m// CHECK-HWASAN: Function Attrs: mustprogress noinline nounwind sanitize_hwaddress
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp'
[0;1;32m^
[0m[1m<stdin>:18:3: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m; Function Attrs: mustprogress nobuiltin noinline nounwind sanitize_hwaddress
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp' [0m
[0;1;31mcheck:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/address-safety-attr-flavors.cpp" [0m
[0;1;31mcheck:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mtarget 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" [0m
[0;1;31mcheck:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "i386-unknown-linux" [0m
[0;1;31mcheck:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;31mcheck:31'0 ~
[0m[0;1;30m 6: [0m[1m[0;1;46m$hwasan.module_ctor = comdat any [0m
[0;1;31mcheck:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m [0m
[0;1;31mcheck:31'0 ~
[0m[0;1;30m 8: [0m[1m[0;1;46m at llvm.used = appending global [1 x ptr] [ptr @hwasan.module_ctor], section "llvm.metadata" [0m
[0;1;31mcheck:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/106565
More information about the llvm-commits
mailing list