diff options
author | Pavel Labath <pavel@labath.sk> | 2019-10-11 10:56:54 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-10-11 10:56:54 +0000 |
commit | a8b18baa0f9e49bb5c957e28027f5c5adae28cda (patch) | |
tree | 959e1e5d184ce1c9b2b19570e30c2ec050556adc /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 30c2441a3262228990b5317eb3bc2b24ff06d316 (diff) | |
download | bcm5719-llvm-a8b18baa0f9e49bb5c957e28027f5c5adae28cda.tar.gz bcm5719-llvm-a8b18baa0f9e49bb5c957e28027f5c5adae28cda.zip |
ProcessInstanceInfoMatch: Don't match processes with no name if a name match was requested, take 2
Summary:
The previous attempt at making nameless process not match when searching for a
given name failed because the macos implementation was depending on this detail
in its partial matching strategy. Doing partial matching to avoid expensive
lookups is a perfectly valid thing to do, the way it was implemented seems
somewhat unexpected.
This patch implements it differently by providing special
methods in the ProcessInstanceInfoMatch which match only a subset of fields,
and changes mac host code to use those instead.
Then, it re-applies r373925 to get make the ProcessInstanceInfoMatch with a
name *not* match a nameless process.
Reviewers: JDevlieghere, teemperor, jingham
Subscribers: wallace, lldb-commits
Differential Revision: https://reviews.llvm.org/D68631
llvm-svn: 374529
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions