HomePhabricator

[lldb] Get the TargetAPI lock in SBProcess::IsInstrumentationRuntimePresent

Authored by teemperor on Oct 4 2019, 2:54 AM.

Description

[lldb] Get the TargetAPI lock in SBProcess::IsInstrumentationRuntimePresent

Summary:
We should get the TargetAPI lock here to prevent the process of being destroyed while we are in the function. Thanks Jim for explaining what's going on.

Fixes rdar://54424754

Reviewers: jingham

Reviewed By: jingham

Subscribers: JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D67831

llvm-svn: 373725

Details

Committed
teemperorOct 4 2019, 2:54 AM
Reviewer
jingham
Differential Revision
D67831: [lldb] Get the TargetAPI lock in SBProcess::IsInstrumentationRuntimePresen
Parents
rGb3cc321cb2ee: [Format] Fix docs after r373439
Branches
Unknown
Tags
Unknown