summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2015-11-11 14:41:17 +0000
committerJay Foad <jay.foad@gmail.com>2015-11-11 14:41:17 +0000
commita95fccfa2f802d78e4449a082b9c5d03d7988176 (patch)
treed30c7e18fe8dc1592af142ec48fc00af4efcdde4 /cmake/config-ix.cmake
parentaa1109ded062989a46b3d05a5ff5aaabd8a54ea5 (diff)
Fix #if tests for PTRACE_GETREGS and others.
Summary: On PowerPC64 Linux PTRACE_GETREGS is a #define and PT_GETREGS is not. On other systems it's the other way round. Extend the #ifs to check for both PTRACE_* and PT_*. This fixes test/sanitizer_common/TestCases/Linux/ptrace.cc when msan is enabled for PowerPC64. Reviewers: zatrazz, kcc, eugenis, samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14564 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@252730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
0 files changed, 0 insertions, 0 deletions