[libc-commits] [libc] Enable bare-metal hermetic tests on Arm (PR #207361)
Volodymyr Turanskyy via libc-commits
libc-commits at lists.llvm.org
Mon Jul 6 04:45:56 PDT 2026
================
@@ -111,10 +111,15 @@ add_unittest_framework_library(
libc.hdr.stdint_proxy
)
+set(libc_hermetic_test_support_srcs HermeticTestUtils.cpp)
+if(LIBC_TARGET_OS_IS_BAREMETAL AND LIBC_TARGET_ARCHITECTURE_IS_ARM)
+ list(APPEND libc_hermetic_test_support_srcs ArmBaremetalTestUtils.cpp)
+endif()
+
----------------
voltur01 wrote:
This is one of key questions, the discussion started here https://discourse.llvm.org/t/rfc-running-hermetic-tests-on-baremetal-arm/89058/
This code is purely to support testing - it is not intended for any use as, e.g. general purpose semihosting support.
https://github.com/llvm/llvm-project/pull/207361
More information about the libc-commits
mailing list