mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
<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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user