bug fix in SBValue::CreateValueFromAddress() where using the resulting VO as a pointer would crash LLDB ; minor improvements in dynamic formatters lookup

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136743 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index 229eba5..2973457 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -457,6 +457,7 @@
                                                                       GetTarget().GetProcess().GetAddressByteSize()));
         
         result_valobj_sp->SetName(ConstString(name));
+        result_valobj_sp->GetValue().SetValueType(Value::eValueTypeLoadAddress);
         result = SBValue(result_valobj_sp);
     }
     LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));