[PATCH] Add FreeBSD support to Ubsan
Viktor Kutuzov
vkutuzov at accesssoftek.com
Mon Feb 24 07:21:17 PST 2014
Comment updated.
Thanks.
Hi kcc, samsonov,
http://llvm-reviews.chandlerc.com/D2867
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2867?vs=7308&id=7315#toc
Files:
lib/ubsan/ubsan_value.h
Index: lib/ubsan/ubsan_value.h
===================================================================
--- lib/ubsan/ubsan_value.h
+++ lib/ubsan/ubsan_value.h
@@ -14,9 +14,9 @@
#ifndef UBSAN_VALUE_H
#define UBSAN_VALUE_H
-// For now, only support linux and darwin. Other platforms should be easy to
-// add, and probably work as-is.
-#if !defined(__linux__) && !defined(__APPLE__)
+// For now, only support Linux, FreeBSD and Darwin. Other platforms should
+// be easy to add, and probably work as-is.
+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__APPLE__)
#error "UBSan not supported for this platform!"
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2867.2.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140224/0475d944/attachment.bin>
More information about the llvm-commits
mailing list