[clang] [llvm] [Clang][ARM][AArch64] Alway emit protection attributes for functions. (PR #82819)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 01:17:59 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/1938
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/aarch64-targetattr.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include -nostdsysteminc -triple aarch64 -emit-llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c -o - | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include -nostdsysteminc -triple aarch64 -emit-llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c -o -
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c:210:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: attributes #[[ATTR15]] = { noinline nounwind optnone "branch-protection-pauth-lr"="false" "branch-target-enforcement"="true" "guarded-control-stack"="true" "no-trapping-math"="true" "sign-return-address"="non-leaf" "sign-return-address-key"="a_key" "stack-protector-buffer-size"="8" "target-cpu"="neoverse-n1" "target-features"="+aes,+bf16,+complxnum,+crc,+dotprod,+fp-armv8,+fullfp16,+i8mm,+jsconv,+lse,+neon,+pauth,+perfmon,+ras,+rcpc,+rdm,+sha2,+spe,+ssbs,+sve,+sve2,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8.6a,+v8a" "tune-cpu"="cortex-a710" }
[0;1;32m ^
[0m[1m<stdin>:176:367: [0m[0;1;30mnote: [0m[1mscanning from here
[0mattributes #14 = { noinline nounwind optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="neoverse-n1" "target-features"="+aes,+bf16,+complxnum,+crc,+dotprod,+fp-armv8,+fullfp16,+i8mm,+jsconv,+lse,+neon,+pauth,+perfmon,+ras,+rcpc,+rdm,+sha2,+spe,+ssbs,+sve,+sve2,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8.6a,+v8a" "tune-cpu"="cortex-a710" }
[0;1;32m ^
[0m[1m<stdin>:176:367: [0m[0;1;30mnote: [0m[1mwith "ATTR15" equal to "15"
[0mattributes #14 = { noinline nounwind optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="neoverse-n1" "target-features"="+aes,+bf16,+complxnum,+crc,+dotprod,+fp-armv8,+fullfp16,+i8mm,+jsconv,+lse,+neon,+pauth,+perfmon,+ras,+rcpc,+rdm,+sha2,+spe,+ssbs,+sve,+sve2,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8.6a,+v8a" "tune-cpu"="cortex-a710" }
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/aarch64-targetattr.c" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "aarch64" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m; Function Attrs: noinline nounwind optnone [0m
[0;1;30m 7: [0m[1m[0;1;46m[0mdefine dso_local void @v82() #0 {[0;1;46m [0m
[0;1;32mlabel:5'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mlabel:5'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32msame:6'0 ^~~~~~~
[0m[0;1;32msame:6'1 ^ captured var "ATTR0"
[0m[0;1;30m 8: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:7 ^~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m [0mret void[0;1;46m [0m
[0;1;32mnext:8 ^~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m} [0m
[0;1;30m 11: [0m[1m[0;1;46m [0m
[0;1;30m 12: [0m[1m[0;1;46m; Function Attrs: noinline nounwind optnone [0m
[0;1;30m 13: [0m[1m[0;1;46m[0mdefine dso_local void @v82sve() #1 {[0;1;46m [0m
[0;1;32mlabel:12'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mlabel:12'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32msame:13'0 ^~~~~~~
[0m[0;1;32msame:13'1 ^ captured var "ATTR1"
[0m[0;1;30m 14: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:14 ^~~~~~
...
```
https://github.com/llvm/llvm-project/pull/82819
More information about the llvm-commits
mailing list