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)
commitc9109225e27d5f9ef455d3008ec6e52ea0de61f3
tree19f9c2198fa2f00a742c7e6bb474cb49ad7c05f7
parentbb7e1f3687e71ddeb4dc1c7a9a1beec027c6fd5e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225861 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LazyCallGraph.h
lib/Analysis/LazyCallGraph.cpp