This is an archive of the discontinued LLVM Phabricator instance.

Clean up debug logging
ClosedPublic

Authored by labath on Feb 10 2017, 5:07 AM.

Details

Summary

We've had two ways to print a "debug" log message.

  • Log::GetDebug() was testing a Stream flag which was never set.
  • Log::Debug() was checking for the presence of "log enable --debug"

flag.

Given that these two were used very rarely and we already have a
different way to specify "I want a more verbose log", I propose to remove
these two functions and migrate the callers to LLDB_LOGV. This commit
does that.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Feb 10 2017, 5:07 AM
clayborg accepted this revision.Feb 10 2017, 8:37 AM
This revision is now accepted and ready to land.Feb 10 2017, 8:37 AM
This revision was automatically updated to reflect the committed changes.