Added a new "module" log channel which covers module creation, deletion, and common module list actions.

Also added a new option for "log enable" which is "--stack" which will print out a stack backtrace for each log line.

This was used to track down the leaking module issue I fixed last week.

llvm-svn: 165438
This commit is contained in:
Greg Clayton
2012-10-08 22:41:53 +00:00
parent ae23ed336b
commit 3a18e31945
11 changed files with 44 additions and 29 deletions

View File

@@ -40,7 +40,7 @@ public:
m_backend(backend) {}
virtual bool
IsRemovable() { return true; }
IsRemovable() const { return true; }
protected:
virtual bool