[libc-commits] [libc] [libc][test] Condition out tests that can't work on bare metal (PR #215830)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Wed Aug 12 09:09:09 PDT 2026
================
@@ -10,6 +10,13 @@
#include "src/compiler/__stack_chk_fail.h"
#include "test/UnitTest/Test.h"
+#ifdef EXPECT_DEATH
----------------
vhscampos wrote:
What if you changed the macro definition to be empty in case the target is baremetal (`LIBC_TARGET_OS_IS_BAREMETAL`)? Instead of adding these ifdefs.
https://github.com/llvm/llvm-project/pull/215830
More information about the libc-commits
mailing list