diff options
| author | Jim Ingham <jingham@apple.com> | 2010-06-22 21:12:54 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-06-22 21:12:54 +0000 |
| commit | 05407f6b252d6f148274e389126373cef2552cec (patch) | |
| tree | 8a53bcfe7c0de3146cb815d8aa85e94cd3f3cc06 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
| parent | 6250bd9e3cfbf793d032908c23d6c68bd1e49d39 (diff) | |
| download | llvm-05407f6b252d6f148274e389126373cef2552cec.zip llvm-05407f6b252d6f148274e389126373cef2552cec.tar.gz llvm-05407f6b252d6f148274e389126373cef2552cec.tar.bz2 | |
Make an explicit GetThreadSpecNoCreate accessor so you don't have to get the const-ness right to ensure you are not making a copy of the owning breakpoint's ThreadSpec in a breakpoint location. Also change the name from NoCopy to NoCreate since that's clearer.
llvm-svn: 106578
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index cc0687c..e080450 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -536,7 +536,7 @@ CommandObjectBreakpointCommandList::Execute (Args& command, { BreakpointLocationSP bp_loc_sp(bp->FindLocationByID (cur_bp_id.GetLocationID())); if (bp_loc_sp) - bp_options = bp_loc_sp->GetOptionsNoCopy(); + bp_options = bp_loc_sp->GetOptionsNoCreate(); else { result.AppendErrorWithFormat("Invalid breakpoint ID: %u.%u.\n", |
