Added extra logging, and made sure that the argument
struct for expressions is deallocated when the
ClangExpressionDeclMap is taken down.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116028 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionParser.cpp b/source/Expression/ClangExpressionParser.cpp
index 60b0f7a..7085f40 100644
--- a/source/Expression/ClangExpressionParser.cpp
+++ b/source/Expression/ClangExpressionParser.cpp
@@ -449,6 +449,8 @@
if (m_expr.NeedsValidation())
{
+ /*
+ Disabled temporarily - TODO Centralize and re-enable this inside Process to avoid race conditions
IRDynamicChecks ir_dynamic_checks(*exe_ctx.process->GetDynamicCheckers(), function_name.c_str());
if (!ir_dynamic_checks.runOnModule(*module))
@@ -457,6 +459,7 @@
err.SetErrorString("Couldn't add dynamic checks to the expression");
return err;
}
+ */
}
}