[PATCH] A couple minor changes to support sanitizers on FreeBSD 9.2

Ed Maste emaste at freebsd.org
Mon Mar 31 06:39:17 PDT 2014



================
Comment at: cmake/Modules/AddCompilerRT.cmake:118
@@ +117,3 @@
+# x86_64 FreeBSD 9.2 in 32-bit mode whereas 'unsigned int' is expected.
+if(CMAKE_SYSTEM MATCHES "FreeBSD-9.2-RELEASE" AND
+    CMAKE_SIZEOF_VOID_P EQUAL 8)
----------------
The same issue exists in all older versions, too.  I've merged (most of) the header changes to support -m32 to FreeBSD stable/9, so this should work properly in FreeBSD 9.3.


http://llvm-reviews.chandlerc.com/D3031



More information about the llvm-commits mailing list