[llvm] 95fb354 - Disable DynamicLibraryTests when using LLVM_INTEGRATED_CRT_ALLOC (PR47881)
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 07:58:02 PDT 2020
Author: Hans Wennborg
Date: 2020-10-16T16:49:58+02:00
New Revision: 95fb3542e8f195454ad4aa2290ca02906f5dfb78
URL: https://github.com/llvm/llvm-project/commit/95fb3542e8f195454ad4aa2290ca02906f5dfb78
DIFF: https://github.com/llvm/llvm-project/commit/95fb3542e8f195454ad4aa2290ca02906f5dfb78.diff
LOG: Disable DynamicLibraryTests when using LLVM_INTEGRATED_CRT_ALLOC (PR47881)
Added:
Modified:
llvm/unittests/Support/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/Support/CMakeLists.txt b/llvm/unittests/Support/CMakeLists.txt
index 86603e0fc5f4..a1086e8b514b 100644
--- a/llvm/unittests/Support/CMakeLists.txt
+++ b/llvm/unittests/Support/CMakeLists.txt
@@ -119,4 +119,7 @@ endif()
# ManagedStatic.cpp uses <pthread>.
target_link_libraries(SupportTests PRIVATE LLVMTestingSupport ${LLVM_PTHREAD_LIB})
-add_subdirectory(DynamicLibrary)
+if(NOT LLVM_INTEGRATED_CRT_ALLOC)
+ # The test doesn't pass when using a custom allocator, PR47881.
+ add_subdirectory(DynamicLibrary)
+endif()
More information about the llvm-commits
mailing list