[clang] [libcxx] ✨ p1040 🎉 Full std::embed and #depend implementation! (PR #190578)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 5 22:48:52 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 104764 tests passed
* 3563 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### llvm-libc++-shared-cfg-in
<details>
<summary>llvm-libc++-shared-cfg-in.llvm-libc++-shared-cfg-in//home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/embed.sh.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 22
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/embed.sh.cpp -pthread --target=x86_64-unknown-linux-gnu -nostdinc++ -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test-suite-install/include/x86_64-unknown-linux-gnu/c++/v1 -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test-suite-install/include/c++/v1 -I /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -Wuser-defined-warnings -fno-modules -Wno-deprecated --trace-includes -fshow-skipped-includes --preprocess > /dev/null 2> /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/trace-includes.txt
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/embed.sh.cpp -pthread --target=x86_64-unknown-linux-gnu -nostdinc++ -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test-suite-install/include/x86_64-unknown-linux-gnu/c++/v1 -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test-suite-install/include/c++/v1 -I /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -Wuser-defined-warnings -fno-modules -Wno-deprecated --trace-includes -fshow-skipped-includes --preprocess
# note: command had no output on stdout or stderr
# RUN: at line 24
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/transitive_includes/to_csv.py /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/trace-includes.txt > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/actual_transitive_includes.csv
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/transitive_includes/to_csv.py /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/trace-includes.txt
# note: command had no output on stdout or stderr
# RUN: at line 25
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/transitive_includes/cxx26.csv | awk '/^embed / { print }' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/expected_transitive_includes.csv
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/transitive_includes/cxx26.csv
# note: command had no output on stdout or stderr
# executed command: awk '/^embed / { print }'
# note: command had no output on stdout or stderr
# RUN: at line 26
diff -w /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/expected_transitive_includes.csv /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/actual_transitive_includes.csv
# executed command: diff -w /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/expected_transitive_includes.csv /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/actual_transitive_includes.csv
# .---command stdout------------
# | *** /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/expected_transitive_includes.csv
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libcxx/test/libcxx/transitive_includes.gen.py/Output/embed.sh.cpp.dir/t.tmp/actual_transitive_includes.csv
# | ***************
# | *** 0 ****
# | --- 1,15 ----
# | + embedcctype
# | + embedcompare
# | + embedcstdint
# | + embedcstdio
# | + embedcstring
# | + embedcwchar
# | + embedcwctype
# | + embedinitializer_list
# | + embediosfwd
# | + embedlimits
# | + embedoptional
# | + embedspan
# | + embedstdexcept
# | + embedstring_view
# | + embedversion
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>llvm-libc++-shared-cfg-in.libcxx/headers_in_modulemap.sh.py</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/gha/actions-runner/_work/llvm-project/llvm-project/libcxx/utils
# .---command stdout------------
# | Header embed seems to be missing from the modulemap!
# `-----------------------------
# 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/190578


More information about the cfe-commits mailing list