[clang] [llvm] [WebAssembly] Represent reference types as TargetExtType (PR #203165)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 01:05:00 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `clang,llvm` at step 10 "test-check-clang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/16978

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 10 (test-check-clang) failure: Test just built components: check-clang completed (failure)
******************** TEST 'Clang :: CodeGen/WebAssembly/wasm-funcref-to-ptr-error.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe -cc1 -internal-isystem C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\23\include -nostdsysteminc -triple wasm32 -target-feature +reference-types -S -o /dev/null C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c 2>&1 | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c
# executed command: not 'c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe' -cc1 -internal-isystem 'C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\23\include' -nostdsysteminc -triple wasm32 -target-feature +reference-types -S -o /dev/null 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c'
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c'
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c:13:11: error: CHECK: expected string not found in input
# | // CHECK: error: a funcref can only be converted to a pointer to be directly called; the resulting pointer cannot otherwise be used
# |           ^
# | <stdin>:1:1: note: scanning from here
# | error: unable to create target: 'No available targets are compatible with triple "wasm32"'
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGen\WebAssembly\wasm-funcref-to-ptr-error.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: error: unable to create target: 'No available targets are compatible with triple "wasm32"' 
# | check:13     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |           2: 1 error generated. 
# | check:13     ~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/203165


More information about the cfe-commits mailing list