This patch fixes my think-o in ValueObject::UpdateValueIfNeeded() about the right...
authorEnrico Granata <egranata@apple.com>
Thu, 8 Jan 2015 19:11:43 +0000 (19:11 +0000)
committerEnrico Granata <egranata@apple.com>
Thu, 8 Jan 2015 19:11:43 +0000 (19:11 +0000)
commit20c321caf83c3c10c992756eea7a04de582aa0db
treeb15d6f3e92dcde7e4541ef004ae14812687184cc
parenta8c6a0a03f603a911e471665565bfcdc6fb5eb0e
This patch fixes my think-o in ValueObject::UpdateValueIfNeeded() about the right thing to assert()

It also comes with a (rudimentary) test case that gets itself in a failed update scenario, and checks that we don't crash
This is the easiest case I could think of that forces the failed update case Zachary was seeing

llvm-svn: 225463
lldb/source/Core/ValueObject.cpp
lldb/test/functionalities/value_md5_crash/Makefile [new file with mode: 0644]
lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py [new file with mode: 0644]
lldb/test/functionalities/value_md5_crash/main.cpp [new file with mode: 0644]