summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-13 22:42:38 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-13 22:42:38 +0000
commit14a759e3d99c341c70347800206762be1bc84b28 (patch)
tree77f88f7ea59de333be17a080dd7df6fe67d7cc34 /llvm/lib/IR/PassManager.cpp
parentf07a0ba96c6e7a91f6b128096909d8f5ec8476b6 (diff)
downloadbcm5719-llvm-14a759e3d99c341c70347800206762be1bc84b28.tar.gz
bcm5719-llvm-14a759e3d99c341c70347800206762be1bc84b28.zip
[PM] Push the debug option for the new pass manager into the opt tool
and expose the necessary hooks in the API directly. This makes it much cleaner for example to log the usage of a pass manager from a library. It also makes it more obvious that this functionality isn't "optional" or "asserts-only" for the pass manager. llvm-svn: 225841
Diffstat (limited to 'llvm/lib/IR/PassManager.cpp')
-rw-r--r--llvm/lib/IR/PassManager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index 3e6efb70260..a5f407c00e8 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -12,11 +12,6 @@
#include "llvm/IR/PassManager.h"
using namespace llvm;
-using llvm::detail::DebugPM;
-
-cl::opt<bool> llvm::detail::DebugPM(
- "debug-pass-manager", cl::Hidden,
- cl::desc("Print pass management debugging information"));
char FunctionAnalysisManagerModuleProxy::PassID;
OpenPOWER on IntegriCloud