[llvm-branch-commits] [llvm] [CodeGen] Report an error for a direct inline asm output in memory (PR #229628)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 22 08:47:53 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 154304 tests passed
* 1799 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o</summary>
```
FAILED: [code=1] libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION=2 -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxxabi/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -fPIC -UNDEBUG -std=c++26 -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -Wall -Wextra -Wnewline-eof -Wshadow -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wundef -Wunused-template -Wformat-nonliteral -Wzero-length-array -Wdeprecated-redundant-constexpr-static-def -Wno-nullability-completeness -Wmissing-prototypes -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fdebug-prefix-map=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1=/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/include -MD -MT libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o -MF libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o.d -o libcxx/src/CMakeFiles/cxx_shared.dir/locale.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/codecvt:64:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/__locale_dir/codecvt.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/__locale_dir/locale.h:27:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:2941:96: error: too few arguments to function call, expected 2, have 1
2941 | __long __buffer = __allocate_long_buffer(__alloc_, __n, __get_amortized_growth_capacity(__n));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:1492:7: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::__assign_trivial<wchar_t *, wchar_t *>' requested here
1492 | __assign_trivial(__first, __last, __n);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp:4621:17: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::assign<wchar_t *, 0>' requested here
4621 | __weeks_[i].assign(wbuf, wbe);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:2309:3: note: '__get_amortized_growth_capacity' declared here
2309 | __get_amortized_growth_capacity(size_type __old_cap, size_type __additional_characters) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>[code=1] libcxx/src/CMakeFiles/cxx_static.dir/locale.cpp.o</summary>
```
FAILED: [code=1] libcxx/src/CMakeFiles/cxx_static.dir/locale.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION=2 -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxxabi/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -UNDEBUG -std=c++26 -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -Wall -Wextra -Wnewline-eof -Wshadow -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wundef -Wunused-template -Wformat-nonliteral -Wzero-length-array -Wdeprecated-redundant-constexpr-static-def -Wno-nullability-completeness -Wmissing-prototypes -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fdebug-prefix-map=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1=/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/include -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/locale.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/locale.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/locale.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/codecvt:64:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/__locale_dir/codecvt.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/__locale_dir/locale.h:27:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:2941:96: error: too few arguments to function call, expected 2, have 1
2941 | __long __buffer = __allocate_long_buffer(__alloc_, __n, __get_amortized_growth_capacity(__n));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:1492:7: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::__assign_trivial<wchar_t *, wchar_t *>' requested here
1492 | __assign_trivial(__first, __last, __n);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/src/locale.cpp:4621:17: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::assign<wchar_t *, 0>' requested here
4621 | __weeks_[i].assign(wbuf, wbe);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1/string:2309:3: note: '__get_amortized_growth_capacity' declared here
2309 | __get_amortized_growth_capacity(size_type __old_cap, size_type __additional_characters) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>[code=1] runtimes/runtimes-stamps/runtimes-build /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-stamps/runtimes-build</summary>
```
FAILED: [code=1] runtimes/runtimes-stamps/runtimes-build /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-stamps/runtimes-build
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins && /usr/bin/cmake --build .
```
</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/229628
More information about the llvm-branch-commits
mailing list