Removed the function:
ModuleSP
Module::GetSP();
Since we are now using intrusive ref counts, we can easily turn any
pointer to a module into a shared pointer just by assigning it.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139984 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/StackFrame.cpp b/source/Target/StackFrame.cpp
index 862e4c9..2b13fe8 100644
--- a/source/Target/StackFrame.cpp
+++ b/source/Target/StackFrame.cpp
@@ -147,7 +147,7 @@
{
if (pc_module)
{
- m_sc.module_sp = pc_module->GetSP();
+ m_sc.module_sp = pc_module;
m_flags.Set (eSymbolContextModule);
}
else
@@ -227,7 +227,7 @@
Module *module = section->GetModule();
if (module)
{
- m_sc.module_sp = module->GetSP();
+ m_sc.module_sp = module;
if (m_sc.module_sp)
m_flags.Set(eSymbolContextModule);
}