<rdar://problem/13265297>

StackFrame assumes m_sc is additive, but m_sc can lose its target. So now the SymbolContext::Clear() method takes a bool that indicates if the target should be cleared. Modified all existing code to properly set the bool argument.

llvm-svn: 175953
This commit is contained in:
Greg Clayton
2013-02-23 04:12:47 +00:00
parent 6fcb39e0f0
commit 72310355ff
12 changed files with 19 additions and 18 deletions

View File

@@ -250,7 +250,7 @@ void
StackFrame::ChangePC (addr_t pc)
{
m_frame_code_addr.SetRawAddress(pc);
m_sc.Clear();
m_sc.Clear(false);
m_flags.Reset(0);
ThreadSP thread_sp (GetThread());
if (thread_sp)