diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-03-07 22:29:49 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-03-07 22:29:49 +0000 |
| commit | a8b3dbf20f1812e691449e7ae2a26d335bea8fc0 (patch) | |
| tree | 1c5de100db46a8a5159e8ca5b68a0ac55ccf8255 | |
| parent | 3d90292297690de3878cab4fd40f52d102cdc66b (diff) | |
| download | bcm5719-llvm-a8b3dbf20f1812e691449e7ae2a26d335bea8fc0.tar.gz bcm5719-llvm-a8b3dbf20f1812e691449e7ae2a26d335bea8fc0.zip | |
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.
llvm-svn: 152251
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index b65ca92447f..8ed3963817a 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -538,7 +538,7 @@ AppleObjCRuntimeV2::GetByteOffsetForIvar (ClangASTType &parent_ast_type, const c 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 |

