diff options
author | Greg Clayton <gclayton@apple.com> | 2011-09-17 06:21:20 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-09-17 06:21:20 +0000 |
commit | 747bcb03d25144951e24d957fc667bb497c88ed9 (patch) | |
tree | 95d335a5a28374feb2cd58cf629384d25287afe5 /lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h | |
parent | 5631ebce5e09cec5c1b6929f70847d3d2554728d (diff) | |
download | bcm5719-llvm-747bcb03d25144951e24d957fc667bb497c88ed9.tar.gz bcm5719-llvm-747bcb03d25144951e24d957fc667bb497c88ed9.zip |
Convert lldb::ModuleSP to use an instrusive ref counted pointer.
We had some cases where getting the shared pointer for a module from
the global module list was causing a performance issue when debugging
with DWARF in .o files. Now that the module uses intrusive ref counts,
we can easily convert any pointer to a shared pointer.
llvm-svn: 139983
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h')
-rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h index 43178772955..4f2b70e4fd4 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h @@ -98,7 +98,7 @@ protected: AppleIsModuleObjCLibrary (const lldb::ModuleSP &module_sp); static enum ObjCRuntimeVersions - GetObjCVersion (Process *process, ModuleSP &objc_module_sp); + GetObjCVersion (Process *process, lldb::ModuleSP &objc_module_sp); //------------------------------------------------------------------ // PluginInterface protocol |