aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
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
commit6de11a494f8077867eee9a0e416fd37867c938fd (patch)
tree4e491600f0ac40a1e949fa071286b15fcab81f59 /lldb/scripts/Python
parent159727d417b2dd53f77bc35ce1f4450667ff03ad (diff)
downloadllvm-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