Added symbol table access through the module for now. We might need to expose

a SBSymtab class, but for now, we expose the symbols through the module.

llvm-svn: 121112
This commit is contained in:
Greg Clayton
2010-12-07 05:40:31 +00:00
parent 0d71c4f564
commit bbdabce2f7
4 changed files with 49 additions and 1 deletions

View File

@@ -41,12 +41,17 @@ SBSymbol::operator = (const SBSymbol &rhs)
return *this;
}
SBSymbol::~SBSymbol ()
{
m_opaque_ptr = NULL;
}
void
SBSymbol::SetSymbol (lldb_private::Symbol *lldb_object_ptr)
{
m_opaque_ptr = lldb_object_ptr;
}
bool
SBSymbol::IsValid () const
{