summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2014-11-13 09:24:32 +0000
committerJay Foad <jay.foad@gmail.com>2014-11-13 09:24:32 +0000
commitcf255b5c7fad2e7bc42e65cc3f7406196ab0fa05 (patch)
tree5146dc31d59af423bd0f72aba3dc6582e7c3e72d /cmake
parent07d214d453d77d9344e575c45b3989643da65a89 (diff)
InstrProf: support PowerPC64
Summary: I don't know anything about profiling but it seems to work out of the box on PowerPC64. At least "make check-profile" works. A few tests needed tweaking because PowerPC64 IR declares main with "define signext i32 @main" instead of just "define i32 @main". This also fixes the asan asan_and_llvm_coverage_test test, which compiles with -coverage so requires that a profiling version of libclang_rt has been built. Reviewers: dexonsmith, kcc, samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D6233 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 42aa83166..d228acb58 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -180,7 +180,8 @@ filter_available_targets(LSAN_SUPPORTED_ARCH x86_64)
filter_available_targets(LSAN_COMMON_SUPPORTED_ARCH
${SANITIZER_COMMON_SUPPORTED_ARCH})
filter_available_targets(MSAN_SUPPORTED_ARCH x86_64)
-filter_available_targets(PROFILE_SUPPORTED_ARCH x86_64 i386 i686 arm mips mips64 mipsel mips64el aarch64)
+filter_available_targets(PROFILE_SUPPORTED_ARCH x86_64 i386 i686 arm mips mips64
+ mipsel mips64el aarch64 powerpc64 powerpc64le)
filter_available_targets(TSAN_SUPPORTED_ARCH x86_64)
filter_available_targets(UBSAN_SUPPORTED_ARCH x86_64 i386 i686 arm aarch64 mips mipsel)