llvm-project/lldb/source/Plugins/Process/Linux
Pavel Labath b9cc0c7593 [NativeProcessLinux] Pass around threads by reference
Summary:
Most NPL private functions took (shared) pointers to threads as arguments. This meant that the
callee could not be sure if the pointer was valid and so most functions were peppered with
null-checks. Now, I move the check closer to the source, and pass around the threads as
references (which are then assumed to be valid).

Reviewers: tberghammer

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12237

llvm-svn: 245831
2015-08-24 09:22:04 +00:00
..
CMakeLists.txt Remove old local-only linux debugging code 2015-06-24 14:43:20 +00:00
Makefile Fix configure & make build with python disabled 2014-09-09 04:52:37 +00:00
NativeProcessLinux.cpp [NativeProcessLinux] Pass around threads by reference 2015-08-24 09:22:04 +00:00
NativeProcessLinux.h [NativeProcessLinux] Pass around threads by reference 2015-08-24 09:22:04 +00:00
NativeRegisterContextLinux.cpp [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support 2015-08-17 13:40:17 +00:00
NativeRegisterContextLinux.h Fix warnings found by -Wextra-semi 2015-07-22 08:12:01 +00:00
NativeRegisterContextLinux_arm.cpp Move register reading form NativeProcessLinux to NativeRegisterContextLinux* 2015-05-26 11:58:52 +00:00
NativeRegisterContextLinux_arm.h Move register reading form NativeProcessLinux to NativeRegisterContextLinux* 2015-05-26 11:58:52 +00:00
NativeRegisterContextLinux_arm64.cpp Fix AArch64 watchpoint handlers in NativeRegisterContextLinux_arm64 2015-08-12 13:42:24 +00:00
NativeRegisterContextLinux_arm64.h Fix AArch64 watchpoint handlers in NativeRegisterContextLinux_arm64 2015-08-12 13:42:24 +00:00
NativeRegisterContextLinux_mips64.cpp [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support 2015-08-17 13:40:17 +00:00
NativeRegisterContextLinux_mips64.h [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support 2015-08-17 13:40:17 +00:00
NativeRegisterContextLinux_x86_64.cpp Removing redundant check from r244875 2015-08-13 11:53:23 +00:00
NativeRegisterContextLinux_x86_64.h Move register reading form NativeProcessLinux to NativeRegisterContextLinux* 2015-05-26 11:58:52 +00:00
NativeThreadLinux.cpp [NativeProcessLinux] Fix a bug in instruction-stepping over thread creation 2015-08-20 09:06:12 +00:00
NativeThreadLinux.h [NativeProcessLinux] Fix a bug in instruction-stepping over thread creation 2015-08-20 09:06:12 +00:00
ProcFileReader.cpp Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ProcFileReader.h Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
Procfs.h Move register reading form NativeProcessLinux to NativeRegisterContextLinux* 2015-05-26 11:58:52 +00:00