projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54bbdb4
)
Register Verifier pass
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Jul 2002 18:08:17 +0000
(18:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Jul 2002 18:08:17 +0000
(18:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3019
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index 99ad4a1e29ac08b735577bf1926bff7726f86422..e00e218890e4aff7d51b74ab8a4994997d97b0c6 100644
(file)
--- a/
lib/VMCore/Verifier.cpp
+++ b/
lib/VMCore/Verifier.cpp
@@
-55,8
+55,6
@@
namespace { // Anonymous namespace for class
Verifier() : Broken(false) {}
- virtual const char *getPassName() const { return "Module Verifier"; }
-
bool doInitialization(Module &M) {
verifySymbolTable(M.getSymbolTable());
return false;
@@
-113,6
+111,8
@@
namespace { // Anonymous namespace for class
Broken = true;
}
};
+
+ RegisterPass<Verifier> X("verify", "Module Verifier");
}
// Assert - We know that cond should be true, if not print an error message.