diff options
author | Owen Anderson <resistor@mac.com> | 2012-11-26 23:54:47 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2012-11-26 23:54:47 +0000 |
commit | 336368c4fd8943aa3d967655d74dc208f5179d6b (patch) | |
tree | 87f69fc2bd391e0a99125310e45694f7dcc643e4 /llvm/tools/llvm-stress/llvm-stress.cpp | |
parent | 8559a35508222875c5a413dd5ef5df82482bf74a (diff) | |
download | bcm5719-llvm-336368c4fd8943aa3d967655d74dc208f5179d6b.tar.gz bcm5719-llvm-336368c4fd8943aa3d967655d74dc208f5179d6b.zip |
Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model
Patch by Pedro Artigas, with feedback from by Chandler Carruth.
llvm-svn: 168635
Diffstat (limited to 'llvm/tools/llvm-stress/llvm-stress.cpp')
-rw-r--r-- | llvm/tools/llvm-stress/llvm-stress.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp index 72fdac87b4d..8473d94731a 100644 --- a/llvm/tools/llvm-stress/llvm-stress.cpp +++ b/llvm/tools/llvm-stress/llvm-stress.cpp @@ -713,9 +713,7 @@ int main(int argc, char **argv) { PassManager Passes; Passes.add(createVerifierPass()); Passes.add(createPrintModulePass(&Out->os())); - Passes.doInitialization(); Passes.run(*M.get()); - Passes.doFinalization(); Out->keep(); return 0; |