diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-09-19 22:23:30 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-09-19 22:23:30 +0000 |
| commit | a150de05f3067cd872e847314322353ac1902971 (patch) | |
| tree | f29bf8d4e31fb2f54a0690bf7e9a0e9f20c97603 | |
| parent | dee6583dfd336af67983213194607adb4dc7febf (diff) | |
| download | bcm5719-llvm-a150de05f3067cd872e847314322353ac1902971.tar.gz bcm5719-llvm-a150de05f3067cd872e847314322353ac1902971.zip | |
Don't get everything when resolving the symbol context of the ObjC Class symbol, just the module + symbol.
llvm-svn: 164257
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 78ccc1425ad..ca2b6966d02 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -307,7 +307,7 @@ AppleObjCRuntimeV2::GetDynamicTypeAndAddress (ValueObject &in_value, static ConstString g_objc_class_section_name ("__objc_data"); if (section_name == g_objc_class_section_name) { - isa_address.CalculateSymbolContext(&sc); + isa_address.CalculateSymbolContext(&sc, eSymbolContextModule | eSymbolContextSymbol); if (sc.symbol) { if (sc.symbol->GetType() == eSymbolTypeObjCClass) @@ -351,7 +351,6 @@ AppleObjCRuntimeV2::GetDynamicTypeAndAddress (ValueObject &in_value, class_type_or_name.SetName (class_name); TypeList class_types; - SymbolContext sc; const bool exact_match = true; uint32_t num_matches = target.GetImages().FindTypes (sc, class_type_or_name.GetName(), |

