llvm-project/lldb/source/Plugins/Process/Linux
Pavel Labath 3f3673ead9 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
2019-09-02 12:50:18 +00:00
..
CMakeLists.txt Normalize some lldb #include statements. 2018-05-22 22:53:50 +00:00
NativeProcessLinux.cpp [LLDB] Migrate llvm::make_unique to std::make_unique 2019-08-14 22:19:23 +00:00
NativeProcessLinux.h Implement GetSharedLibraryInfoAddress 2019-06-14 21:15:08 +00:00
NativeRegisterContextLinux.cpp NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux.h NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_arm.cpp NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_arm.h NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_arm64.cpp NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_arm64.h NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_mips64.cpp [LLDB] Migrate llvm::make_unique to std::make_unique 2019-08-14 22:19:23 +00:00
NativeRegisterContextLinux_mips64.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NativeRegisterContextLinux_ppc64le.cpp NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_ppc64le.h NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_s390x.cpp NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_s390x.h NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
NativeRegisterContextLinux_x86_64.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
NativeRegisterContextLinux_x86_64.h [Linux/x86] Fix writing of non-gpr registers on newer processors 2019-04-01 08:11:46 +00:00
NativeThreadLinux.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
NativeThreadLinux.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
ProcessorTrace.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
ProcessorTrace.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
Procfs.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SingleStepCheck.cpp [LLDB] Migrate llvm::make_unique to std::make_unique 2019-08-14 22:19:23 +00:00
SingleStepCheck.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00