Enable *BasicBlockPass::createPrinterPass()

Enables raw_ostream I/O for BasicBlockPass.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174776 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sergei Larin
2013-02-08 23:37:41 +00:00
parent ea871523ec
commit 68b2faf6be
6 changed files with 46 additions and 2 deletions

View File

@ -23,6 +23,7 @@
namespace llvm {
class FunctionPass;
class ModulePass;
class BasicBlockPass;
class raw_ostream;
/// createPrintModulePass - Create and return a pass that writes the
@ -37,6 +38,11 @@ namespace llvm {
raw_ostream *OS,
bool DeleteStream=false);
/// createPrintBasicBlockPass - Create and return a pass that writes the
/// BB to the specified raw_ostream.
BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS,
bool DeleteStream=false,
const std::string &Banner = "");
} // End llvm namespace
#endif