projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PM] Add names to passes under the new pass manager, and a debug output
[oota-llvm.git]
/
tools
/
opt
/
Passes.cpp
diff --git
a/tools/opt/Passes.cpp
b/tools/opt/Passes.cpp
index 49751269df94cf37b85b76519c79847452a1ed10..d58acaf1f6d6d18e8687dd216f24d6e0c7c7d592 100644
(file)
--- a/
tools/opt/Passes.cpp
+++ b/
tools/opt/Passes.cpp
@@
-24,6
+24,7
@@
namespace {
/// \brief No-op module pass which does nothing.
struct NoOpModulePass {
PreservedAnalyses run(Module *M) { return PreservedAnalyses::all(); }
+ static StringRef name() { return "NoOpModulePass"; }
};
} // End anonymous namespace.