Minor logging changes: added logging right before
the expression makes it to the JIT, and made some
logging only appear in verbose mode.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143467 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp
index 029d4f5..1ed6791 100644
--- a/source/Expression/IRForTarget.cpp
+++ b/source/Expression/IRForTarget.cpp
@@ -2556,7 +2556,7 @@
}
}
- if (log)
+ if (log && log->GetVerbose())
{
std::string s;
raw_string_ostream oss(s);
@@ -2669,7 +2669,7 @@
return false;
}
- if (log)
+ if (log && log->GetVerbose())
{
std::string s;
raw_string_ostream oss(s);