forked from OSchip/llvm-project
[ubsan] Support ubsan-minimal tests on Android.
llvm-svn: 315507
This commit is contained in:
parent
319b7716a8
commit
450ae592b4
|
@ -16,7 +16,7 @@ config.test_source_root = os.path.dirname(__file__)
|
||||||
config.name = 'UBSan-Minimal-' + config.target_arch
|
config.name = 'UBSan-Minimal-' + config.target_arch
|
||||||
|
|
||||||
def build_invocation(compile_flags):
|
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")]
|
target_cflags = [get_required_attr(config, "target_cflags")]
|
||||||
clang_ubsan_cflags = ["-fsanitize-minimal-runtime"] + target_cflags
|
clang_ubsan_cflags = ["-fsanitize-minimal-runtime"] + target_cflags
|
||||||
|
|
Loading…
Reference in New Issue