Logging improvements to help identify major events in
LLDB expression execution.
We also now print the argument structure after execution,
to allow us to verify that the expression did indeed
execute correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121126 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index f8f619e..a93ff17 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -507,6 +507,12 @@
return false;
}
+ if (!m_material_vars->m_materialized_location)
+ {
+ err.SetErrorString("No materialized location");
+ return false;
+ }
+
lldb::DataBufferSP data(new DataBufferHeap(m_struct_vars->m_struct_size, 0));
Error error;