Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / lit.site.cfg.py.in
blob8c403a2719a77343894afefefa9b9e9835bbee39
1 @LIT_SITE_CFG_IN_HEADER@
3 config.cpp_compiler = "@LIBFUZZER_TEST_COMPILER@"
4 config.target_flags = "@LIBFUZZER_TEST_FLAGS@"
5 config.c_compiler = "@LIBFUZZER_TEST_COMPILER@"
6 config.stdlib = "@LIBFUZZER_TEST_STDLIB@"
7 config.apple_platform = "@LIBFUZZER_TEST_APPLE_PLATFORM@"
8 config.apple_platform_min_deployment_target_flag = "@LIBFUZZER_TEST_MIN_DEPLOYMENT_TARGET_FLAG@"
9 config.name_suffix = "@LIBFUZZER_TEST_CONFIG_SUFFIX@"
10 config.arm_thumb = "@COMPILER_RT_ARM_THUMB@"
12 config.osx_sysroot_flag = "@OSX_SYSROOT_FLAG@"
13 config.cmake_binary_dir = "@CMAKE_BINARY_DIR@"
14 config.llvm_library_dir = "@LLVM_LIBRARY_DIR@"
15 config.target_triple = "@LLVM_TARGET_TRIPLE@"
16 config.target_arch = "@LIBFUZZER_TEST_TARGET_ARCH@"
18 # Load common config for all compiler-rt lit tests.
19 lit_config.load_config(config,
20 "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
22 if config.enable_per_target_runtime_dir:
23 config.runtime_library_dir = config.compiler_rt_libdir
24 else:
25 config.runtime_library_dir = "@LLVM_LIBRARY_DIR@"
27 lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py")