[PATCH] Add FreeBSD 9 support to libcxxabi testing framework

Ed Maste emaste at freebsd.org
Fri Aug 15 09:01:04 PDT 2014


================
Comment at: test/lit.cfg:204
@@ -203,1 +203,3 @@
             link_flags += ['-lSystem']
+        elif sys.platform == 'freebsd9':
+            if not llvm_unwinder:
----------------
Use `sys.platform.startswith('freebsd')` instead, so that we don't get "unrecognized system" on FreeBSD 10. 

See http://bugs.python.org/issue12326 and http://bugs.python.org/issue12795 for the sad details :(

http://reviews.llvm.org/D4925






More information about the llvm-commits mailing list