[ubsan] Support ubsan-minimal tests on Android.

llvm-svn: 315507
This commit is contained in:
Evgeniy Stepanov 2017-10-11 20:46:13 +00:00
parent 319b7716a8
commit 450ae592b4
1 changed files with 1 additions and 1 deletions

View File

@ -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