[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: Linux-->
# :penguin: Linux x64 Test Results
* 90936 tests passed
* 1815 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.tools/lldb-dap/evaluate/TestDAP_evaluate.py</summary>
```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/evaluate -p TestDAP_evaluate.py --timeout 1200
--
Exit Code: -9
Timeout: Reached timeout of 1200 seconds
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_clipboard_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_clipboard_evaluate_expressions)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_generic_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_generic_evaluate_expressions)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_hover_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_hover_evaluate_expressions)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_repl_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_repl_evaluate_expressions)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_variable_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_variable_evaluate_expressions)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/tools/lldb-dap/evaluate/TestDAP_evaluate/Error_test_variable_evaluate_expressions.log
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_watch_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_watch_evaluate_expressions)
======================================================================
ERROR: test_variable_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate.test_variable_evaluate_expressions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1233, in tearDown
hook() # try the plain call and hope it works
^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb_dap/testcase.py", line 114, in cleanup_session
session.disconnect(terminateDebuggee=True)
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb_dap/session_helpers.py", line 1718, in disconnect
response = self.send_request(args).result()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb_dap/session.py", line 99, in result
response = self.result_or_error()
^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb_dap/session.py", line 116, in result_or_error
raw = self._future.result(timeout=self._timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/concurrent/futures/_base.py", line 458, in result
raise TimeoutError()
TimeoutError:
Request 'disconnect' (seq=83) timed out after 50.0s
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 6 tests in 57.331s
FAILED (errors=1)
--
```
</details>
### Clang
<details>
<summary>Clang.CodeGen/ubsan-function-sugared.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,MSVC,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,ARM,GNU,32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function-sugared.cpp --check-prefixes=CHECK,ARM,GNU,32
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,MSVC,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple x86_64-pc-windows-msvc -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,GNU,64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple aarch64_be-linux-gnu -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp -fsanitize=function -fno-sanitize-recover=all | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,ARM,GNU,32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple arm-none-eabi -emit-llvm -o - /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/ubsan-function.cpp --check-prefixes=CHECK,ARM,GNU,32
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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