diff options
author | Pavel Labath <pavel@labath.sk> | 2019-09-02 12:50:18 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-09-02 12:50:18 +0000 |
commit | 3f3673ead99c2ad917a31a04af9f99a889bf016a (patch) | |
tree | 85b1952302f7455a9e5a2335a3e38e6b4805ffc1 /lldb/packages/Python/lldbsuite/test/commands/command/script/welcome.py | |
parent | fe2ee4c46a0027d2f1c406be6e6345f587226851 (diff) | |
download | bcm5719-llvm-3f3673ead99c2ad917a31a04af9f99a889bf016a.tar.gz bcm5719-llvm-3f3673ead99c2ad917a31a04af9f99a889bf016a.zip |
NativeProcessLinux: Remove some register context boilerplate
Summary:
This patch follows the spirit of D63594, and removes some null checks
for things which should be operating invariants. Specifically
{Read,Write}[GF]PR now no longer check whether the supplied buffers are
null, because they never are. After this, the Do*** versions of these
function no longer serve any purpose and are inlined into their callers.
Other cleanups are possible here too, but I am taking this one step at a
time because this involves a lot of architecture-specific code, which I
don't have the hardware to test on (I did do a build-test though).
Reviewers: mgorny, jankratochvil, omjavaid, alexandreyy, uweigand
Subscribers: nemanjai, javed.absar, kbarton, lldb-commits
Differential Revision: https://reviews.llvm.org/D66744
llvm-svn: 370653
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script/welcome.py')
0 files changed, 0 insertions, 0 deletions