diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-25 08:29:36 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-25 08:29:36 +0000 |
commit | 806af0485f957ee179024e5436b84f298c5e7f71 (patch) | |
tree | da06e7e2b817973d6eb19ad9037657dbf308b984 /lib/ubsan/ubsan_value.h | |
parent | 3faa530943e8fe0ac9f31791919f956b78ead3c3 (diff) |
Enable UBSan on FreeBSD. Patch by Viktor Kutuzov.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_value.h')
-rw-r--r-- | lib/ubsan/ubsan_value.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ubsan/ubsan_value.h b/lib/ubsan/ubsan_value.h index 932b0fa3a..a68108440 100644 --- a/lib/ubsan/ubsan_value.h +++ b/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 |