Get rid of hack by making the actual call public. This was causing the lldb-platform to not be able to link.

llvm-svn: 167253
This commit is contained in:
Greg Clayton 2012-11-01 21:35:16 +00:00
parent 6df8945f04
commit aa0c70e38c
2 changed files with 2 additions and 12 deletions

View File

@ -413,15 +413,8 @@ public:
lldb::SBWatchpoint
WatchPointee (bool resolve_location, bool read, bool write, SBError &error);
// this must be defined in the .h file because synthetic children as implemented in the core
// currently rely on being able to extract the SharedPointer out of an SBValue. if the implementation
// is deferred to the .cpp file instead of being inlined here, the platform will fail to link
// correctly. however, this is temporary till a better general solution is found. FIXME
lldb::ValueObjectSP
get_sp()
{
return GetSP();
}
GetSP () const;
protected:
friend class SBBlock;
@ -429,9 +422,6 @@ protected:
friend class SBThread;
friend class SBValueList;
lldb::ValueObjectSP
GetSP () const;
// these calls do the right thing WRT adjusting their settings according to the target's preferences
void
SetSP (const lldb::ValueObjectSP &sp);

View File

@ -2300,7 +2300,7 @@ ScriptInterpreterPython::GetChildAtIndex (const lldb::ScriptInterpreterObjectSP&
if (value_sb == NULL)
Py_XDECREF(child_ptr);
else
ret_val = value_sb->get_sp();
ret_val = value_sb->GetSP();
}
else
{