diff --git a/compiler-rt/test/ubsan_minimal/lit.common.cfg b/compiler-rt/test/ubsan_minimal/lit.common.cfg index e8b42bb823c8..32a1d0b3ecb7 100644 --- a/compiler-rt/test/ubsan_minimal/lit.common.cfg +++ b/compiler-rt/test/ubsan_minimal/lit.common.cfg @@ -16,7 +16,7 @@ config.test_source_root = os.path.dirname(__file__) config.name = 'UBSan-Minimal-' + config.target_arch def build_invocation(compile_flags): - return " " + " ".join([config.clang] + compile_flags) + " " + return " " + " ".join([config.compile_wrapper, config.clang] + compile_flags) + " " target_cflags = [get_required_attr(config, "target_cflags")] clang_ubsan_cflags = ["-fsanitize-minimal-runtime"] + target_cflags