[PATCH] D48740: [UBsan] minimal unit tests removing OpenBSD special case

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 28 14:15:39 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335923: [UBsan] minimal unit tests removing OpenBSD spacial case (authored by devnexen, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D48740?vs=153382&id=153390#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48740

Files:
  compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg


Index: compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg
===================================================================
--- compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg
+++ compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg
@@ -22,12 +22,6 @@
 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)) )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48740.153390.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/af5eb8a9/attachment.bin>


More information about the llvm-commits mailing list