aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-06-20 12:44:37 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-06-20 12:44:37 +0000
commitd687fa7d023ab897d2ced58555f9f480f26d72a2 (patch)
tree361dbf50db055bb15cb2fb1715f601b193512d3a /clang/lib/Frontend/CompilerInvocation.cpp
parenta4d705e0ef359fd761f515f13ef9249e18dd0502 (diff)
downloadllvm-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