[clang] [llvm] Add ifunc support for Windows on AArch64. (PR #111962)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 06:09:04 PST 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/11605
<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/ifunc-win.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /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/20/include -nostdsysteminc -triple aarch64-pc-windows-msvc -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/ifunc-win.c | /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/ifunc-win.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/20/include -nostdsysteminc -triple aarch64-pc-windows-msvc -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/ifunc-win.c
+ /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/ifunc-win.c
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/ifunc-win.c:46:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: {{.*}} = internal{{.*}}global{{.*}}poison, align 8
[0;1;32m ^
[0m[1m<stdin>:6:42: [0m[0;1;30mnote: [0m[1mscanning from here
[0m at global = dso_local global i32 0, align 4
[0;1;32m ^
[0m[1m<stdin>:13:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mdefine dso_local i32 @bar() #0 {
[0;1;32m^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/ifunc-win.c:58:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: define internal void @{{.*}}()
[0;1;32m ^
[0m[1m<stdin>:20:30: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine dso_local void @bar2() #0 {
[0;1;32m ^
[0m[1m<stdin>:39:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mdefine internal ptr @foo_ifunc() #1 {
[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/ifunc-win.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/ifunc-win.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/ifunc-win.c" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "aarch64-pc-windows-msvc" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m[0m at global = dso_local global i32 0, align 4[0;1;46m [0m
[0;1;32mcheck:45 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;31mcheck:46'0 X error: no match found
[0m[0;1;30m 7: [0m[1m[0;1;46m [0m
[0;1;31mcheck:46'0 ~
[0m[0;1;30m 8: [0m[1m[0;1;46m at foo = dso_local ifunc i32 (i32), ptr @foo_ifunc [0m
[0;1;31mcheck:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m at goo = dso_local ifunc void (), ptr @goo_ifunc [0m
[0;1;31mcheck:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m at hoo = dso_local ifunc void (i32), ptr @hoo_ifunc [0m
[0;1;31mcheck:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/111962
More information about the cfe-commits
mailing list