[Lldb-commits] [lldb] r152251 - /lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
    Sean Callanan 
    scallanan at apple.com
       
    Wed Mar  7 14:29:49 PST 2012
    
    
  
Author: spyffe
Date: Wed Mar  7 16:29:49 2012
New Revision: 152251
URL: http://llvm.org/viewvc/llvm-project?rev=152251&view=rev
Log:
Look up ivar offset symbols correctly.  We now
treat Objective-C ivar symbols as their own kind
of symbol rather than lumping them in with generic
"runtime" symbols.
Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp?rev=152251&r1=152250&r2=152251&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp Wed Mar  7 16:29:49 2012
@@ -538,7 +538,7 @@
     SymbolContextList sc_list;
     Target &target = m_process->GetTarget();
     
-    target.GetImages().FindSymbolsWithNameAndType(ivar_const_str, eSymbolTypeRuntime, sc_list);
+    target.GetImages().FindSymbolsWithNameAndType(ivar_const_str, eSymbolTypeObjCIVar, sc_list);
 
     SymbolContext ivar_offset_symbol;
     if (sc_list.GetSize() != 1 
    
    
More information about the lldb-commits
mailing list