[libc] Exclude FreeListHeap test and fuzzer on GPU (#120137)

FreeListHeap uses the _end symbol which conflicts with the _end symbol
defined by GPU start.cpp files so for now we exclude the test and the
fuzzer on GPU.
This commit is contained in:
Petr Hosek
2024-12-16 13:28:42 -08:00
committed by GitHub
parent 2fe2969659
commit 51a0919412
2 changed files with 6 additions and 2 deletions

View File

@@ -24,7 +24,9 @@ add_libc_fuzzer(
-D__LIBC_EXPLICIT_SIMD_OPT
)
if(LLVM_LIBC_FULL_BUILD)
# TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol
# defined by GPU start.cpp files so for now we exclude this fuzzer on GPU.
if(LLVM_LIBC_FULL_BUILD AND NOT LIBC_TARGET_OS_IS_GPU)
add_libc_fuzzer(
freelist_heap_fuzz
SRCS

View File

@@ -55,7 +55,9 @@ if(NOT LIBC_TARGET_OS_IS_GPU)
)
endif()
if(LLVM_LIBC_FULL_BUILD)
# TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol
# defined by GPU start.cpp files so for now we exclude this test on GPU.
if(LLVM_LIBC_FULL_BUILD AND NOT LIBC_TARGET_OS_IS_GPU)
add_libc_test(
freelist_heap_test
SUITE