diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-06-20 12:44:37 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-06-20 12:44:37 +0000 |
commit | d687fa7d023ab897d2ced58555f9f480f26d72a2 (patch) | |
tree | 361dbf50db055bb15cb2fb1715f601b193512d3a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a4d705e0ef359fd761f515f13ef9249e18dd0502 (diff) | |
download | llvm-d687fa7d023ab897d2ced58555f9f480f26d72a2.zip llvm-d687fa7d023ab897d2ced58555f9f480f26d72a2.tar.gz llvm-d687fa7d023ab897d2ced58555f9f480f26d72a2.tar.bz2 |
[lldb] [Process/NetBSD] Remove unnecessary register buffer abstraction
Remove most of the abstraction over ptrace() register operations,
as it has little value and introduces more code than it saves.
Instead, leave a single ptrace() wrapper method and call it directly
from ReadRegisterSet() and WriteRegisterSet() with correct PT_* request
and buffer.
Remove the remaining direct ReadGPR() and WriteGPR() invocations
with ReadRegisterSet() and WriteRegisterSet().
Cleanup suggested by Pavel Labath in D63545.
Differential Revision: https://reviews.llvm.org/D63594
llvm-svn: 363923
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions