[llvm] [MC][WebAssembly] Add parameter to set table address type (PR #173063)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 23 09:44:58 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] lib/Target/WebAssembly/AsmParser/CMakeFiles/LLVMWebAssemblyAsmParser.dir/WebAssemblyAsmParser.cpp.obj</summary>
```
FAILED: [code=1] lib/Target/WebAssembly/AsmParser/CMakeFiles/LLVMWebAssemblyAsmParser.dir/WebAssemblyAsmParser.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\Target\WebAssembly\AsmParser -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\WebAssembly\AsmParser -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\WebAssembly -Ilib\Target\WebAssembly -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Folib\Target\WebAssembly\AsmParser\CMakeFiles\LLVMWebAssemblyAsmParser.dir\WebAssemblyAsmParser.cpp.obj /Fdlib\Target\WebAssembly\AsmParser\CMakeFiles\LLVMWebAssemblyAsmParser.dir\LLVMWebAssemblyAsmParser.pdb -c -- C:\_work\llvm-project\llvm-project\llvm\lib\Target\WebAssembly\AsmParser\WebAssemblyAsmParser.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\WebAssembly\AsmParser\WebAssemblyAsmParser.cpp(1000,24): error: no matching constructor for initialization of 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>')
1000 | return error(std::string(
| ^
1001 | "Expected address type or integer constant, instead got: ",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1002 | Lexer.getTok()));
| ~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2463,28): note: candidate constructor not viable: no known conversion from 'const AsmToken' to 'const size_type' (aka 'const unsigned long long') for 2nd argument
2463 | _CONSTEXPR20_CONTAINER basic_string(
| ^
2464 | _In_reads_(_Count) const _Elem* const _Ptr, _CRT_GUARDOVERFLOW const size_type _Count)
| ~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2494,28): note: candidate constructor template not viable: no known conversion from 'const AsmToken' to 'const std::allocator<char>' for 2nd argument
2494 | _CONSTEXPR20_CONTAINER basic_string(_In_z_ const _Elem* const _Ptr, const _Alloc& _Al)
| ^ ~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2424,28): note: candidate constructor not viable: no known conversion from 'const AsmToken' to 'const std::allocator<char>' for 2nd argument
2424 | _CONSTEXPR20_CONTAINER basic_string(const basic_string& _Right, const _Alloc& _Al)
| ^ ~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2444,28): note: candidate constructor not viable: no known conversion from 'const AsmToken' to 'const size_type' (aka 'const unsigned long long') for 2nd argument
2444 | _CONSTEXPR20_CONTAINER basic_string(const basic_string& _Right, const size_type _Roff, const _Alloc& _Al = _Alloc())
| ^ ~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2576,28): note: candidate constructor not viable: no known conversion from 'const AsmToken' to 'const std::allocator<char>' for 2nd argument
2576 | _CONSTEXPR20_CONTAINER basic_string(basic_string&& _Right, const _Alloc& _Al) noexcept(
| ^ ~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2503,28): note: candidate constructor not viable: no known conversion from 'const char[57]' to 'const size_type' (aka 'const unsigned long long') for 1st argument
2503 | _CONSTEXPR20_CONTAINER basic_string(_CRT_GUARDOVERFLOW const size_type _Count, const _Elem _Ch)
| ^ ~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2922,28): note: candidate constructor not viable: no known conversion from 'const char[57]' to 'initializer_list<char>' for 1st argument
2922 | _CONSTEXPR20_CONTAINER basic_string(initializer_list<_Elem> _Ilist, const _Alloc& _Al = allocator_type())
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2526,28): note: candidate template ignored: deduced conflicting types for parameter '_Iter' ('const char *' vs. 'AsmToken')
2526 | _CONSTEXPR20_CONTAINER basic_string(_Iter _First, _Iter _Last, const _Alloc& _Al = _Alloc())
| ^
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2710,37): note: candidate template ignored: requirement 'conjunction_v<std::is_convertible<const char (&)[57], std::basic_string_view<char, std::char_traits<char>>>, std::negation<std::is_convertible<const char (&)[57], const char *>>>' was not satisfied [with _StringViewIsh = char[57]]
2710 | _CONSTEXPR20_CONTAINER explicit basic_string(const _StringViewIsh& _Right, const _Alloc& _Al = _Alloc())
| ^
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2416,28): note: candidate constructor not viable: requires single argument '_Right', but 2 arguments were provided
2416 | _CONSTEXPR20_CONTAINER basic_string(const basic_string& _Right)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2438,37): note: candidate constructor not viable: requires single argument '_Al', but 2 arguments were provided
2438 | _CONSTEXPR20_CONTAINER explicit basic_string(const _Alloc& _Al) noexcept
| ^ ~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2483,28): note: candidate constructor not viable: requires single argument '_Ptr', but 2 arguments were provided
2483 | _CONSTEXPR20_CONTAINER basic_string(_In_z_ const _Elem* const _Ptr) : _Mypair(_Zero_then_variadic_args_t{}) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2570,28): note: candidate constructor not viable: requires single argument '_Right', but 2 arguments were provided
2570 | _CONSTEXPR20_CONTAINER basic_string(basic_string&& _Right) noexcept
| ^ ~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2473,28): note: candidate constructor not viable: requires 3 arguments, but 2 were provided
2473 | _CONSTEXPR20_CONTAINER basic_string(
| ^
2474 | _In_reads_(_Count) const _Elem* const _Ptr, _CRT_GUARDOVERFLOW const size_type _Count, const _Alloc& _Al)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2637,28): note: candidate constructor not viable: requires 3 arguments, but 2 were provided
2637 | _CONSTEXPR20_CONTAINER basic_string(_String_constructor_concat_tag, basic_string& _Left, basic_string& _Right)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2516,28): note: candidate constructor template not viable: requires 3 arguments, but 2 were provided
2516 | _CONSTEXPR20_CONTAINER basic_string(_CRT_GUARDOVERFLOW const size_type _Count, const _Elem _Ch, const _Alloc& _Al)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2432,28): note: candidate constructor not viable: requires 0 arguments, but 2 were provided
2432 | _CONSTEXPR20_CONTAINER basic_string() noexcept(is_nothrow_default_constructible_v<_Alty>)
| ^
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2453,28): note: candidate constructor not viable: requires at least 3 arguments, but 2 were provided
2453 | _CONSTEXPR20_CONTAINER basic_string(
| ^
2454 | const basic_string& _Right, const size_type _Roff, const size_type _Count, const _Alloc& _Al = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2720,28): note: candidate constructor template not viable: requires at least 3 arguments, but 2 were provided
2720 | _CONSTEXPR20_CONTAINER basic_string(
| ^
2721 | const _StringViewIsh& _Right, const size_type _Roff, const size_type _Count, const _Alloc& _Al = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(2593,28): note: candidate constructor not viable: requires 6 arguments, but 2 were provided
2593 | _CONSTEXPR20_CONTAINER basic_string(_String_constructor_concat_tag, const basic_string& _Source_of_al,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2594 | const _Elem* const _Left_ptr, const size_type _Left_size, const _Elem* const _Right_ptr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2595 | const size_type _Right_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</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/173063
More information about the llvm-commits
mailing list