Revert r225854: [PM] Move the LazyCallGraph printing functionality to
authorChandler Carruth <chandlerc@gmail.com>
Wed, 14 Jan 2015 00:27:45 +0000 (00:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 14 Jan 2015 00:27:45 +0000 (00:27 +0000)
commit11f5032368144703bc2bc88623338333ae941dc1
tree3c5fd4b2e657054c7f8be5ff24a44b3335b780a5
parentcfb2534ef859268bfaeedb4a59c0599fae452a7a
Revert r225854: [PM] Move the LazyCallGraph printing functionality to
a print method.

This was formulated on a bad idea, but sadly I didn't uncover how bad
this was until I got further down the path. I had hoped that we could
provide a low boilerplate way of printing analyses, but it just doesn't
seem like this really fits the needs of the analyses. Not all analyses
really want to do printing, and those that do don't all use the same
interface. Instead, with the new pass manager let's just take advantage
of the fact that creating an explicit printer pass like the LCG has is
pretty low boilerplate already and rely on that for testing.

llvm-svn: 225861
llvm/include/llvm/Analysis/LazyCallGraph.h
llvm/lib/Analysis/LazyCallGraph.cpp