summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-11 10:56:54 +0000
committerPavel Labath <pavel@labath.sk>2019-10-11 10:56:54 +0000
commita8b18baa0f9e49bb5c957e28027f5c5adae28cda (patch)
tree959e1e5d184ce1c9b2b19570e30c2ec050556adc /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent30c2441a3262228990b5317eb3bc2b24ff06d316 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud