[llvm-branch-commits] [clang] clang: Emit "target-abi" module flag for ARM (PR #217601)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 20 05:58:15 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 56142 tests passed
* 1524 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/ubsan-function-sugared.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp --check-prefixes=CHECK,MSVC,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' --check-prefixes=CHECK,MSVC,64
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp --check-prefixes=CHECK,ARM,GNU,32
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp' --check-prefixes=CHECK,ARM,GNU,32
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp:13:9: error: ARM: expected string not found in input
# | // ARM: call ptr @llvm.ptrmask.p0.i32(ptr {{.*}}, i32 -2), !nosanitize !5
# | ^
# | <stdin>:17:36: note: scanning from here
# | define dso_local void @_Z6callerv() #0 !func_sanitize !5 {
# | ^
# | <stdin>:22:7: note: possible intended match here
# | %1 = call ptr @llvm.ptrmask.p0.i32(ptr %0, i32 -2), !nosanitize !6
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function-sugared.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 12: entry:
# | 13: ret void
# | 14: }
# | 15:
# | 16: ; Function Attrs: mustprogress noinline nounwind optnone
# | 17: define dso_local void @_Z6callerv() #0 !func_sanitize !5 {
# | check:13'0 { search range start (exclusive)
# | check:13'1 error: no match found in search range
# | 18: entry:
# | 19: %a = alloca ptr, align 4
# | 20: store ptr @_Z3funv, ptr %a, align 4
# | 21: %0 = load ptr, ptr %a, align 4
# | 22: %1 = call ptr @llvm.ptrmask.p0.i32(ptr %0, i32 -2), !nosanitize !6
# | check:13'2 ? possible intended match
# | 23: %2 = getelementptr <{ i32, i32 }>, ptr %1, i32 -1, i32 0, !nosanitize !6
# | 24: %3 = load i32, ptr %2, align 4, !nosanitize !6
# | 25: %4 = icmp eq i32 %3, -1056584962, !nosanitize !6
# | 26: br i1 %4, label %typecheck, label %cont1, !nosanitize !6
# | 27:
# | .
# | .
# | .
# | 63: !2 = !{i32 4, !"arm-eabi-fp-denormal", i32 1}
# | 64: !3 = !{i32 8, !"arm-eabi-fp-number-model", i32 3}
# | 65: !4 = !{!"clang version 24.0.0git (https://github.com/llvm/llvm-project 020563e11d4af1785f8f4b9a373897e8aa9ff660)"}
# | 66: !5 = !{i32 -1056584962, i32 905068220}
# | 67: !6 = !{}
# | 68: !7 = !{!"branch_weights", i32 1048575, i32 1}
# | check:13'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGen/ubsan-function.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp --check-prefixes=CHECK,MSVC,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' --check-prefixes=CHECK,MSVC,64
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' --check-prefixes=CHECK,GNU,64
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp --check-prefixes=CHECK,ARM,GNU,32
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' -fsanitize=function -fno-sanitize-recover=all
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp' --check-prefixes=CHECK,ARM,GNU,32
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp:16:9: error: ARM: expected string not found in input
# | // ARM: call ptr @llvm.ptrmask.p0.i32(ptr {{.*}}, i32 -2), !nosanitize !6
# | ^
# | <stdin>:17:54: note: scanning from here
# | define dso_local void @_Z6callerPFvvE(ptr noundef %f) #0 !func_sanitize !6 {
# | ^
# | <stdin>:22:7: note: possible intended match here
# | %1 = call ptr @llvm.ptrmask.p0.i32(ptr %0, i32 -2), !nosanitize !7
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\ubsan-function.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 12: entry:
# | 13: ret void
# | 14: }
# | 15:
# | 16: ; Function Attrs: mustprogress noinline nounwind optnone
# | 17: define dso_local void @_Z6callerPFvvE(ptr noundef %f) #0 !func_sanitize !6 {
# | check:16'0 { search range start (exclusive)
# | check:16'1 error: no match found in search range
# | 18: entry:
# | 19: %f.addr = alloca ptr, align 4
# | 20: store ptr %f, ptr %f.addr, align 4
# | 21: %0 = load ptr, ptr %f.addr, align 4
# | 22: %1 = call ptr @llvm.ptrmask.p0.i32(ptr %0, i32 -2), !nosanitize !7
# | check:16'2 ? possible intended match
# | 23: %2 = getelementptr <{ i32, i32 }>, ptr %1, i32 -1, i32 0, !nosanitize !7
# | 24: %3 = load i32, ptr %2, align 4, !nosanitize !7
# | 25: %4 = icmp eq i32 %3, -1056584962, !nosanitize !7
# | 26: br i1 %4, label %typecheck, label %cont1, !nosanitize !7
# | 27:
# | .
# | .
# | .
# | 55: entry:
# | 56: ret void
# | 57: }
# | 58:
# | 59: ; Function Attrs: mustprogress noinline nounwind optnone
# | 60: define dso_local void @_Z7caller2PFvvE(ptr noundef %f) #0 !func_sanitize !6 {
# | check:16'3 } search range end (exclusive)
# | 61: entry:
# | 62: %f.addr = alloca ptr, align 4
# | 63: store ptr %f, ptr %f.addr, align 4
# | 64: %0 = load ptr, ptr %f.addr, align 4
# | 65: call void %0()
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/217601
More information about the llvm-branch-commits
mailing list