Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler-rt/test/ubsan_minimal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(UBSAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
list(APPEND UBSAN_TEST_DEPS ubsan-minimal)

foreach(arch ${UBSAN_TEST_ARCH})
string(TOLOWER "-${arch}-${OS_NAME}" UBSAN_TEST_CONFIG_SUFFIX)
get_test_cc_for_arch(${arch} UBSAN_TEST_TARGET_CC UBSAN_TEST_TARGET_CFLAGS)
set(CONFIG_NAME ${arch})
configure_lit_site_cfg(
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/test/ubsan_minimal/lit.common.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_required_attr(config, attr_name):

# Setup source root.
config.test_source_root = os.path.dirname(__file__)
config.name = "UBSan-Minimal-" + config.target_arch
config.name = "UBSan-Minimal" + config.name_suffix


def build_invocation(compile_flags):
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/ubsan_minimal/lit.site.cfg.py.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@LIT_SITE_CFG_IN_HEADER@

config.name_suffix = "@UBSAN_TEST_CONFIG_SUFFIX@"

# Tool-specific config options.
config.target_cflags = "@UBSAN_TEST_TARGET_CFLAGS@"
config.target_arch = "@UBSAN_TEST_TARGET_ARCH@"
Expand Down
Loading