diff options
author | Pavel Labath <labath@google.com> | 2015-08-24 09:22:04 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-08-24 09:22:04 +0000 |
commit | b9cc0c75939eb82fbd5c9d646c4b1114b952b4b4 (patch) | |
tree | 08f42954438cad0bbc1f554629121cb6c861ef6f /clang/lib/Basic/Targets.cpp | |
parent | bdef60462db587cf52fffc3c0319666b8f915476 (diff) | |
download | bcm5719-llvm-b9cc0c75939eb82fbd5c9d646c4b1114b952b4b4.tar.gz bcm5719-llvm-b9cc0c75939eb82fbd5c9d646c4b1114b952b4b4.zip |
[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
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions