[PATCH] D48805: [UBsan] Enable subset of unit tests for OpenBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 30 14:23:17 PDT 2018


krytarowski accepted this revision.
krytarowski added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/lit.common.cfg:358
     config.substitutions.append( ("%ld_flags_rpath_so" + postfix, '-install_name @rpath/`basename %dynamiclib{}`'.format(postfix)) )
-  elif config.host_os == 'FreeBSD' or config.host_os == 'NetBSD':
+  elif config.host_os == 'FreeBSD' or config.host_os == 'NetBSD' or config.host_os == 'OpenBSD':
     config.substitutions.append( ("%ld_flags_rpath_exe" + postfix, "-Wl,-z,origin -Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec" + postfix) )
----------------
Please use the 'in' construct with 'FreeBSD', 'OpenBSD', 'NetBSD'


https://reviews.llvm.org/D48805





More information about the llvm-commits mailing list