[PATCH] D43894: OpenBSD UBsan support / ubsan part

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 23:32:47 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326543: OpenBSD UBsan support / ubsan part (authored by kamil, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D43894?vs=136591&id=136683#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43894

Files:
  compiler-rt/trunk/lib/ubsan/ubsan_platform.h


Index: compiler-rt/trunk/lib/ubsan/ubsan_platform.h
===================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_platform.h
+++ compiler-rt/trunk/lib/ubsan/ubsan_platform.h
@@ -15,7 +15,8 @@
 
 // Other platforms should be easy to add, and probably work as-is.
 #if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) ||        \
-    defined(__NetBSD__) || (defined(__sun__) && defined(__svr4__)) ||          \
+    defined(__NetBSD__) || defined(__OpenBSD__) || \
+    (defined(__sun__) && defined(__svr4__)) || \
     defined(_WIN32) || defined(__Fuchsia__)
 # define CAN_SANITIZE_UB 1
 #else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43894.136683.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/6bc40cf4/attachment.bin>


More information about the llvm-commits mailing list