summaryrefslogtreecommitdiff
path: root/test/ubsan_minimal
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2018-06-28 21:10:52 +0000
committerDavid Carlier <devnexen@gmail.com>2018-06-28 21:10:52 +0000
commitc967293495916f511d3f4048919bbeca4ecc0e43 (patch)
tree5b9ae880cc2a34c491d8da38606893bb59ea9fbe /test/ubsan_minimal
parent6cca95f3056c42c82f0f182c810a242dde893de5 (diff)
downloadcompiler-rt-c967293495916f511d3f4048919bbeca4ecc0e43.tar.gz
[UBsan] minimal unit tests removing OpenBSD spacial case
The OpenBSD driver now handles sanitisers with ld.lld automatically. Reviewers: vitalybuka Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D48740 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan_minimal')
-rw-r--r--test/ubsan_minimal/lit.common.cfg6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ubsan_minimal/lit.common.cfg b/test/ubsan_minimal/lit.common.cfg
index 7630b617f..a436a315f 100644
--- a/test/ubsan_minimal/lit.common.cfg
+++ b/test/ubsan_minimal/lit.common.cfg
@@ -22,12 +22,6 @@ target_cflags = [get_required_attr(config, "target_cflags")]
clang_ubsan_cflags = ["-fsanitize-minimal-runtime"] + target_cflags
clang_ubsan_cxxflags = config.cxx_mode_flags + clang_ubsan_cflags
-# OpenBSD needs lld linker to function
-# TODO update the frontend driver
-if config.host_os == 'OpenBSD':
- clang_ubsan_cflags.append("-fuse-ld=lld")
- clang_ubsan_cxxflags.append("-fuse-ld=lld")
-
# Define %clang and %clangxx substitutions to use in test RUN lines.
config.substitutions.append( ("%clang ", build_invocation(clang_ubsan_cflags)) )
config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags)) )