Add StackFrame::IsInlined.

llvm-svn: 112217
This commit is contained in:
Jim Ingham 2010-08-26 20:44:45 +00:00
parent 42b4ac7ed3
commit 6b8379c4e0
2 changed files with 13 additions and 0 deletions

View File

@ -84,6 +84,9 @@ public:
void
Dump (Stream *strm, bool show_frame_index);
bool
IsInlined ();
uint32_t
GetFrameIndex () const

View File

@ -470,6 +470,16 @@ StackFrame::GetValueObjectList()
return m_value_object_list;
}
bool
StackFrame::IsInlined ()
{
Block *block = GetSymbolContext (eSymbolContextBlock).block;
if (block)
return block->GetContainingInlinedBlock() != NULL;
else
return false;
}
Target *
StackFrame::CalculateTarget ()
{