From 024b02f5c618b030ee4db03dbaed0653046d8018 Mon Sep 17 00:00:00 2001 From: Bill Seurer Date: Wed, 1 Apr 2015 15:33:22 +0000 Subject: [PPC64]This activates UBSan for the power architecture. One test case is updated to allow for differences between power and other architectures in behavior when returning from main in certain instances http://reviews.llvm.org/D8743 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@233813 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ubsan/ubsan_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ubsan/ubsan_platform.h') diff --git a/lib/ubsan/ubsan_platform.h b/lib/ubsan/ubsan_platform.h index efb7974d4..83fb42b3b 100644 --- a/lib/ubsan/ubsan_platform.h +++ b/lib/ubsan/ubsan_platform.h @@ -16,7 +16,7 @@ // Other platforms should be easy to add, and probably work as-is. #if (defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)) && \ (defined(__x86_64__) || defined(__i386__) || defined(__arm__) || \ - defined(__aarch64__) || defined(__mips__)) + defined(__aarch64__) || defined(__mips__) || defined(__powerpc64__)) # define CAN_SANITIZE_UB 1 #else # define CAN_SANITIZE_UB 0 -- cgit v1.2.3