[libcxx-commits] [libcxx] [libcxx] Switch to check-runtimes for generic-llvm-libc (PR #196780)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 9 23:21:19 PDT 2026


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/196780

After a1d21ccf78e7893134c8c8cccd78e7d7d545a9c3 we have a dl_iterate_phdr implementation sufficiently complete to run the libunwind tests, so now we can remove the hacky to avoid testing libunwind and just use the generic check-runtimes function.

>From 37ae87106f219cde5b655be1f1883b43081eb1da Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 10 May 2026 06:20:00 +0000
Subject: [PATCH] [libcxx] Switch to check-runtimes for generic-llvm-libc

After a1d21ccf78e7893134c8c8cccd78e7d7d545a9c3 we have a dl_iterate_phdr
implementation sufficiently complete to run the libunwind tests, so now
we can remove the hacky to avoid testing libunwind and just use the
generic check-runtimes function.
---
 libcxx/utils/ci/run-buildbot | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 59e4bfe5928b4..6376bc1d3dd5a 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -466,19 +466,7 @@ generic-llvm-libc)
     # Ensure we have the builtins archive built as we pass it in explicitly in
     # the test config.
     ninja -vC "${BUILD_DIR}" libclang_rt.builtins-x86_64.a
-
-    # Manually run only libcxx/libcxxabi tests as we currently cannot build
-    # libunwind due to a missing dl_iterate_phdr implementation.
-    # TODO(boomanaiden154): Remove this once we can build libunwind and pass
-    # the tests.
-    step "Building libc++ test dependencies"
-    ninja -vC "${BUILD_DIR}" cxx-test-depends
-
-    step "Running the libc++ tests"
-    ninja -vC "${BUILD_DIR}" check-cxx
-
-    step "Running the libc++abi tests"
-    ninja -vC "${BUILD_DIR}" check-cxxabi
+    check-runtimes
 ;;
 #
 # Module builds



More information about the libcxx-commits mailing list