LLVM
15.0.0git
|
Functions | |
include (GetLibraryName) check_cxx_compiler_flag("-Werror | |
int | main () |
LLVM_HAS_NOGLOBAL_CTOR_MUTEX | if (NOT LLVM_HAS_NOGLOBAL_CTOR_MUTEX) string(REPLACE "-Werror |
LLVM_HAS_NOGLOBAL_CTOR_MUTEX snmalloc and mimalloc are supported | endif () if(LLVM_INTEGRATED_CRT_ALLOC MATCHES "rpmalloc$") add_definitions(-DENABLE_OVERRIDE -DENABLE_PRELOAD) set(ALLOCATOR_FILES "$ |
rpmalloc rpmalloc c | elseif (LLVM_INTEGRATED_CRT_ALLOC MATCHES "snmalloc$") set(ALLOCATOR_FILES "$ |
src snmalloc override new cc | set (system_libs ${system_libs} "mincore.lib" "-INCLUDE:malloc") elseif(LLVM_INTEGRATED_CRT_ALLOC MATCHES "mimalloc$") set(MIMALLOC_LIB "$ |
out msvc x64 Release mimalloc static lib | if (NOT EXISTS "${MIMALLOC_LIB}") message(FATAL_ERROR "Cannot find the mimalloc static library. To build it |
add_llvm_library (LLVMTestingSupport Annotations.cpp Error.cpp SupportHelpers.cpp BUILDTREE_ONLY ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support LINK_COMPONENTS Support) target_link_libraries(LLVMTestingSupport PRIVATE llvm_gtest) if(HOST_WINNT AND "$ | |
Variables | |
static std::recursive_mutex | TestGlobalCtorDtor2 |
LLVM_HAS_NOGLOBAL_CTOR_MUTEX | rpmalloc |
add_llvm_library | ( | LLVMTestingSupport Annotations.cpp Error.cpp SupportHelpers.cpp BUILDTREE_ONLY ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support LINK_COMPONENTS | Support | ) |
Definition at line 1 of file CMakeLists.txt.
Definition at line 92 of file CMakeLists.txt.
LLVM_HAS_NOGLOBAL_CTOR_MUTEX snmalloc and mimalloc are supported endif | ( | ) |
Definition at line 87 of file CMakeLists.txt.
out msvc x64 Release mimalloc static lib if | ( | NOT EXISTS "${MIMALLOC_LIB}" | ) |
LLVM_HAS_NOGLOBAL_CTOR_MUTEX if | ( | NOT | LLVM_HAS_NOGLOBAL_CTOR_MUTEX | ) |
include | ( | GetLibraryName | ) |
int main | ( | ) |
Definition at line 17 of file CMakeLists.txt.
src snmalloc override new cc set | ( | system_libs ${system_libs} "mincore.lib" "-INCLUDE:malloc" | ) |
Definition at line 94 of file CMakeLists.txt.
LLVM_HAS_NOGLOBAL_CTOR_MUTEX rpmalloc |
Definition at line 86 of file CMakeLists.txt.
|
static |
Definition at line 16 of file CMakeLists.txt.