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

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Mar 26 07:22:18 PDT 2014

Comment at: cmake/Modules/AddCompilerRT.cmake:117
@@ +116,3 @@
+# System headers incorrectly define 'size_t' as 'unsigned long' on
+# x86_64 FreeBSD 9.2 in 32-bit mode whereas 'unsigned int' is expected.
Alexey Samsonov wrote:
> I'm confused: why do you mention 32-bit mode here and use "sizeof(void*) == 8" below? Please change the wording of the comment.
I believe CMAKE_SIZEOF_VOID_P MATCHES "8" means 64-bit host OS so it doesn't relate to the building mode.


More information about the llvm-commits mailing list