summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-11-01 21:35:16 +0000
committerGreg Clayton <gclayton@apple.com>2012-11-01 21:35:16 +0000
commitaa0c70e38c233226a4c629f0155edba12cd3fd41 (patch)
treedbdea4f0068908cdf16c5e1bdc8b70a2dc610dc6
parent6df8945f04fa332c37bd11387346a0bebcf62653 (diff)
downloadbcm5719-llvm-aa0c70e38c233226a4c629f0155edba12cd3fd41.tar.gz
bcm5719-llvm-aa0c70e38c233226a4c629f0155edba12cd3fd41.zip
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
-rw-r--r--lldb/include/lldb/API/SBValue.h12
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
2 files changed, 2 insertions, 12 deletions
diff --git a/lldb/include/lldb/API/SBValue.h b/lldb/include/lldb/API/SBValue.h
index 09e09049bd8..7b0a646136a 100644
--- a/lldb/include/lldb/API/SBValue.h
+++ b/lldb/include/lldb/API/SBValue.h
@@ -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);
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index ced46459878..87c2008e73a 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -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
{
OpenPOWER on IntegriCloud