citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 6eabe85d10a4f1f1515a0a5acaedab59c7d10848
parent 96d0bc07ae3f358952fb97994ccc5b0ef7ee6f42
Author: Kyle Milz <kyle@0x30.net>
Date:   Thu,  4 Aug 2016 18:12:49 -0600

src: remove some logging

Diffstat:
Msrc/inst_main.cc | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/inst_main.cc b/src/inst_main.cc @@ -238,7 +238,7 @@ CitrunInst::process_cmdline() linking = true; if (linking) { - m_log << m_pfx << "Link detected, adding runtime libs "; + m_log << m_pfx << "Link detected, adding "; #ifndef __APPLE__ // OSX always links this. m_args.push_back(const_cast<char *>("-pthread")); @@ -262,13 +262,9 @@ CitrunInst::instrument() // Construct a speical command line for ClangTool. clang_argv.push_back(m_args[0]); - m_log << m_pfx << "Attempting instrumentation on"; - for (auto s : m_source_files) { - m_log << " '" << s << "'"; + for (auto s : m_source_files) clang_argv.push_back(s.c_str()); - } - m_log << ".\n"; clang_argv.push_back("--");