diff options
author | Jay Foad <jay.foad@gmail.com> | 2015-11-11 14:41:17 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2015-11-11 14:41:17 +0000 |
commit | 6de11a494f8077867eee9a0e416fd37867c938fd (patch) | |
tree | 4e491600f0ac40a1e949fa071286b15fcab81f59 /lldb/scripts/Python | |
parent | 159727d417b2dd53f77bc35ce1f4450667ff03ad (diff) | |
download | llvm-6de11a494f8077867eee9a0e416fd37867c938fd.zip llvm-6de11a494f8077867eee9a0e416fd37867c938fd.tar.gz llvm-6de11a494f8077867eee9a0e416fd37867c938fd.tar.bz2 |
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
llvm-svn: 252730
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions