Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
cross-project-tests/lit.cfg.py
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | if is_msvc: | ||||
llvm_config.with_environment('_NT_SYMBOL_PATH', '') | llvm_config.with_environment('_NT_SYMBOL_PATH', '') | ||||
tools.append(ToolSubst('%cdb', '"%s"' % os.path.join(win_sdk, 'Debuggers', | tools.append(ToolSubst('%cdb', '"%s"' % os.path.join(win_sdk, 'Debuggers', | ||||
arch, 'cdb.exe'))) | arch, 'cdb.exe'))) | ||||
# clang_src_dir and lld_src_dir are not used by these tests, but are required by | # clang_src_dir and lld_src_dir are not used by these tests, but are required by | ||||
# use_clang() and use_lld() respectively, so set them to "", if needed. | # use_clang() and use_lld() respectively, so set them to "", if needed. | ||||
if not hasattr(config, 'clang_src_dir'): | if not hasattr(config, 'clang_src_dir'): | ||||
config.clang_src_dir = "" | config.clang_src_dir = "" | ||||
llvm_config.use_clang() | llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects)) | ||||
if not hasattr(config, 'lld_src_dir'): | if not hasattr(config, 'lld_src_dir'): | ||||
config.lld_src_dir = "" | config.lld_src_dir = "" | ||||
llvm_config.use_lld(required=('lld' in config.llvm_enabled_projects)) | llvm_config.use_lld(required=('lld' in config.llvm_enabled_projects)) | ||||
if config.llvm_use_sanitizer: | if config.llvm_use_sanitizer: | ||||
# Propagate path to symbolizer for ASan/MSan. | # Propagate path to symbolizer for ASan/MSan. | ||||
llvm_config.with_system_environment( | llvm_config.with_system_environment( | ||||
['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']) | ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']) | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |