diff options
author | Pavel Labath <labath@google.com> | 2015-06-30 17:04:49 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-06-30 17:04:49 +0000 |
commit | 4a9babb26e91ecc27d95da7ad129941e8aa33b0e (patch) | |
tree | 0f2ef49ed3c3d95605dc2f058b936c4dc03b33d9 /clang/lib/Basic/Module.cpp | |
parent | 6c6c46e4dfa9e3e16a7b40bffd90438ce5d38095 (diff) | |
download | llvm-4a9babb26e91ecc27d95da7ad129941e8aa33b0e.zip llvm-4a9babb26e91ecc27d95da7ad129941e8aa33b0e.tar.gz llvm-4a9babb26e91ecc27d95da7ad129941e8aa33b0e.tar.bz2 |
[NativeProcessLinux] Refactor PtraceWrapper
Summary:
This changes PtraceWrapper to return an Error, while the actual result is in an pointer parameter
(instead of the other way around). Also made a couple of PtraceWrapper arguments default to zero.
This arrangement makes a lot of the code much simpler.
Test Plan: Tests pass on linux. It compiles on android arm64/mips64.
Reviewers: chaoren, mohit.bhakkad
Subscribers: tberghammer, aemerson, lldb-commits
Differential Revision: http://reviews.llvm.org/D10808
llvm-svn: 241079
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions