Move some of the more noisy "log enable lldb expression" output to the verbose output.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124014 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRDynamicChecks.cpp b/source/Expression/IRDynamicChecks.cpp
index 8be2361..a59ac64 100644
--- a/source/Expression/IRDynamicChecks.cpp
+++ b/source/Expression/IRDynamicChecks.cpp
@@ -487,8 +487,8 @@
if (!ooc.Instrument())
return false;
-
- if (log)
+
+ if (log && log->GetVerbose())
{
std::string s;
raw_string_ostream oss(s);
@@ -497,7 +497,7 @@
oss.flush();
- log->Printf("Module after dynamic checks: \n%s", s.c_str());
+ log->Printf ("Module after dynamic checks: \n%s", s.c_str());
}
return true;