[Lldb-commits] [PATCH] D12237: [NativeProcessLinux] Pass around threads by reference
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 21 06:40:35 PDT 2015
labath created this revision.
labath added a reviewer: tberghammer.
labath added a subscriber: lldb-commits.
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).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 35252 bytes
Desc: not available
More information about the lldb-commits