[Lldb-commits] [lldb] r205636 - Remember to clear the cached data for the OptionValueFileSpec in SetValueFromCString.
Jim Ingham
jingham at apple.com
Fri Apr 4 11:06:54 PDT 2014
Author: jingham
Date: Fri Apr 4 13:06:54 2014
New Revision: 205636
URL: http://llvm.org/viewvc/llvm-project?rev=205636&view=rev
Log:
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
Modified:
lldb/trunk/source/Interpreter/OptionValueFileSpec.cpp
Modified: lldb/trunk/source/Interpreter/OptionValueFileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueFileSpec.cpp?rev=205636&r1=205635&r2=205636&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionValueFileSpec.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionValueFileSpec.cpp Fri Apr 4 13:06:54 2014
@@ -99,6 +99,7 @@ OptionValueFileSpec::SetValueFromCString
m_value_was_set = true;
m_current_value.SetFile(filepath.c_str(), true);
+ m_data_sp.reset();
}
else
{
More information about the lldb-commits
mailing list