diff options
author | Jim Ingham <jingham@apple.com> | 2013-05-15 02:16:21 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-05-15 02:16:21 +0000 |
commit | 362e39a0a7aa8c500418becf371ecb0f5bebf68d (patch) | |
tree | e3d5059e0497bdc0178c1d13887005d8cb82031a /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
parent | 09cee97270bf54ea880f148343e097d0dda72a1d (diff) | |
download | llvm-362e39a0a7aa8c500418becf371ecb0f5bebf68d.zip llvm-362e39a0a7aa8c500418becf371ecb0f5bebf68d.tar.gz llvm-362e39a0a7aa8c500418becf371ecb0f5bebf68d.tar.bz2 |
Change the mechanism around SBValue::GetSP() so that it always requires the target API lock AND the
process StopLocker (if there is a process) before it will hand out SBValues. We were doing this in
an ad hoc fashion previously, and then playing whack-a-mole whenever we found a place where we should
have been doing this but weren't. Really, it doesn't make sense to be poking at SBValues when the target
is running, the dynamic and synthetic values can't really be computed, and the underlying memory may be
incoherent.
<rdar://problem/13819378> Sometimes when stepping fast, my inferior is killed by debugserver
llvm-svn: 181863
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions