diff options
author | Sean Callanan <scallanan@apple.com> | 2015-10-01 16:28:02 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2015-10-01 16:28:02 +0000 |
commit | b92bd7538e167ae058eedaa948fcb3a7ceecd5af (patch) | |
tree | d34c87c3f2524f4782343e60e1216239f1b51442 /lldb/source/Core/ValueObject.cpp | |
parent | c8b158155c9c829da0412252ef72e823311b82aa (diff) | |
download | bcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.tar.gz bcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.zip |
Made Target hold a map of languages to TypeSystems, and added some accessors.
Also added some target-level search functions so that persistent variables and
symbols can be searched for without hand-iterating across the map of
TypeSystems.
llvm-svn: 249027
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r-- | lldb/source/Core/ValueObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index 601c172aed7..3b028786b5b 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -4277,7 +4277,7 @@ ValueObject::Persist () if (!target_sp) return nullptr; - PersistentExpressionState *persistent_state = target_sp->GetScratchTypeSystemForLanguage(GetPreferredDisplayLanguage())->GetPersistentExpressionState(); + PersistentExpressionState *persistent_state = target_sp->GetPersistentExpressionStateForLanguage(GetPreferredDisplayLanguage()); if (!persistent_state) return nullptr; |