[PATCH] Add FreeBSD support to Ubsan
Viktor Kutuzov
vkutuzov at accesssoftek.com
Mon Feb 24 05:03:22 PST 2014
Hi kcc, samsonov,
http://llvm-reviews.chandlerc.com/D2867
Files:
lib/ubsan/ubsan_value.h
Index: lib/ubsan/ubsan_value.h
===================================================================
--- lib/ubsan/ubsan_value.h
+++ lib/ubsan/ubsan_value.h
@@ -16,7 +16,7 @@
// For now, only support linux and darwin. Other platforms should be easy to
// add, and probably work as-is.
-#if !defined(__linux__) && !defined(__APPLE__)
+#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.1.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140224/1a78d8bb/attachment.bin>
More information about the llvm-commits
mailing list