commit | dd62d729cf960051615a74c1e67e2e41ec789fd7 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Tue Dec 14 04:58:53 2010 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Tue Dec 14 04:58:53 2010 +0000 |
tree | 347698e986031608b7551393b4af25af65247930 | |
parent | 427f290ff96f3ab9f2cf3a1af7001d2c560424c7 [diff] [blame] |
Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object before trying to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121748 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBFunction.cpp b/source/API/SBFunction.cpp index d86e47d..54081b5 100644 --- a/source/API/SBFunction.cpp +++ b/source/API/SBFunction.cpp
@@ -148,3 +148,9 @@ return m_opaque_ptr; } +void +SBFunction::reset (lldb_private::Function *lldb_object_ptr) +{ + m_opaque_ptr = lldb_object_ptr; +} +