Add some unconditional logging on the failure points when attaching
authorJason Molenda <jmolenda@apple.com>
Fri, 15 Feb 2019 22:39:30 +0000 (22:39 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 15 Feb 2019 22:39:30 +0000 (22:39 +0000)
commit3bf883eac95b532c38d6b745b984fdada3681577
tree80bee3df3a21e96f7135932543136c480aba229d
parent78b84cf991206ebf5f0decdf68552939a8acc44e
Add some unconditional logging on the failure points when attaching
to a process so we'll always get messages in the console logs.

Also make the "is frontboard process" / "is backboard process"
determination lazy, specifically take it out of the
MachProcess::AttachForDebug codepath when we are attaching to a
process, to simplify attaching.

<rdar://problem/47982516>
<rdar://problem/48060134>

llvm-svn: 354181
lldb/tools/debugserver/source/MacOSX/MachProcess.h
lldb/tools/debugserver/source/MacOSX/MachProcess.mm
lldb/tools/debugserver/source/MacOSX/MachTask.mm