summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-stress/llvm-stress.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-19 22:24:17 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-19 22:24:17 +0000
commitab58a568ee6fdf7aefc20e1309f3a15d1152ee42 (patch)
tree9e8920769bff76641b243ca1cf8ae509ca4cf4ac /llvm/tools/llvm-stress/llvm-stress.cpp
parent78240e067c5f2c6516173cc3eb29b25cd83ed902 (diff)
downloadbcm5719-llvm-ab58a568ee6fdf7aefc20e1309f3a15d1152ee42.tar.gz
bcm5719-llvm-ab58a568ee6fdf7aefc20e1309f3a15d1152ee42.zip
Verifier: Remove the separate -verify-di pass
Remove `DebugInfoVerifierLegacyPass` and the `-verify-di` pass. Instead, call into the `DebugInfoVerifier` from inside `VerifierLegacyPass::finalizeModule()`. This better matches the logic in `verifyModule()` (used by the new PassManager), avoids requiring two separate passes to verify the IR, and makes the API for "add a pass to verify the IR" simple. Note: the `-verify-debug-info` flag still works (for now, at least; eventually it might make sense to just remove it). llvm-svn: 232772
Diffstat (limited to 'llvm/tools/llvm-stress/llvm-stress.cpp')
-rw-r--r--llvm/tools/llvm-stress/llvm-stress.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp
index 05ceeb592a5..f5e718ba65b 100644
--- a/llvm/tools/llvm-stress/llvm-stress.cpp
+++ b/llvm/tools/llvm-stress/llvm-stress.cpp
@@ -713,7 +713,6 @@ int main(int argc, char **argv) {
legacy::PassManager Passes;
Passes.add(createVerifierPass());
- Passes.add(createDebugInfoVerifierPass());
Passes.add(createPrintModulePass(Out->os()));
Passes.run(*M.get());
Out->keep();
OpenPOWER on IntegriCloud