diff options
author | Sean Callanan <scallanan@apple.com> | 2015-10-01 00:39:03 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2015-10-01 00:39:03 +0000 |
commit | 0f625f42fdfad168fc8c0ae2ecbc72093ad5ee75 (patch) | |
tree | 2a99ccfe56dccf3d84d0095a8514105b6e5624ba /lldb/source/Core/ValueObject.cpp | |
parent | 7aeb7e256b19519003ec7297714687affea7dad3 (diff) | |
download | bcm5719-llvm-0f625f42fdfad168fc8c0ae2ecbc72093ad5ee75.tar.gz bcm5719-llvm-0f625f42fdfad168fc8c0ae2ecbc72093ad5ee75.zip |
Use the preferred display language when making a persistent variable from a
ValueObject.
llvm-svn: 248971
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 ca5a992f8a9..601c172aed7 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(GetCompilerType().GetMinimumLanguage())->GetPersistentExpressionState(); + PersistentExpressionState *persistent_state = target_sp->GetScratchTypeSystemForLanguage(GetPreferredDisplayLanguage())->GetPersistentExpressionState(); if (!persistent_state) return nullptr; |