[compiler-rt] 61fc02d - [Sanitizers] Fix build

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 17 03:15:44 PDT 2021


Author: David CARLIER
Date: 2021-04-17T11:15:31+01:00
New Revision: 61fc02dc037c61343ebc465301ad0d492912dae7

URL: https://github.com/llvm/llvm-project/commit/61fc02dc037c61343ebc465301ad0d492912dae7
DIFF: https://github.com/llvm/llvm-project/commit/61fc02dc037c61343ebc465301ad0d492912dae7.diff

LOG: [Sanitizers] Fix build

Added: 
    

Modified: 
    compiler-rt/lib/ubsan/ubsan_platform.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/ubsan/ubsan_platform.h b/compiler-rt/lib/ubsan/ubsan_platform.h
index 9d67041cda4e..51e535d1e222 100644
--- a/compiler-rt/lib/ubsan/ubsan_platform.h
+++ b/compiler-rt/lib/ubsan/ubsan_platform.h
@@ -14,7 +14,7 @@
 
 // Other platforms should be easy to add, and probably work as-is.
 #if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) ||        \
-    defined(__NetBSD__) || defined(__DragonFly__) \
+    defined(__NetBSD__) || defined(__DragonFly__) || \
     (defined(__sun__) && defined(__svr4__)) || \
     defined(_WIN32) || defined(__Fuchsia__) || defined(__rtems__)
 # define CAN_SANITIZE_UB 1


        


More information about the llvm-commits mailing list