diff options
author | Jim Ingham <jingham@apple.com> | 2014-04-04 18:06:54 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-04-04 18:06:54 +0000 |
commit | 2e3881c0f587ba71fb9ecdba27eed442823b92c9 (patch) | |
tree | 85aec10873174dc2fa91f5fa19c42ea0f814c7a8 | |
parent | 770305804f4620a83ec0ac8c96f6e1fbded08be3 (diff) | |
download | bcm5719-llvm-2e3881c0f587ba71fb9ecdba27eed442823b92c9.tar.gz bcm5719-llvm-2e3881c0f587ba71fb9ecdba27eed442823b92c9.zip |
Remember to clear the cached data for the OptionValueFileSpec in SetValueFromCString.
<rdar://problem/16179718> target.expr-prefix contents appear to be cached for an entire session
llvm-svn: 205636
-rw-r--r-- | lldb/source/Interpreter/OptionValueFileSpec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/OptionValueFileSpec.cpp b/lldb/source/Interpreter/OptionValueFileSpec.cpp index 3d2a7ff3307..607ece82491 100644 --- a/lldb/source/Interpreter/OptionValueFileSpec.cpp +++ b/lldb/source/Interpreter/OptionValueFileSpec.cpp @@ -99,6 +99,7 @@ OptionValueFileSpec::SetValueFromCString (const char *value_cstr, m_value_was_set = true; m_current_value.SetFile(filepath.c_str(), true); + m_data_sp.reset(); } else { |