diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-16 16:30:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-16 16:30:34 +0000 |
commit | 962bad70f4277841cf6278306caa93ebce304b48 (patch) | |
tree | f8e798ee4db25f43337848f01fcc09b276b9d3e1 /lib/VMCore | |
parent | 47b8798c0bf0944b24051bc21d85d93a2732676a (diff) | |
download | external_llvm-962bad70f4277841cf6278306caa93ebce304b48.zip external_llvm-962bad70f4277841cf6278306caa93ebce304b48.tar.gz external_llvm-962bad70f4277841cf6278306caa93ebce304b48.tar.bz2 |
Let printf do the formatting instead aligning strings ourselves.
While at it, merge some format strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/PassManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index ecedb1d..1aaf765 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -1474,7 +1474,7 @@ bool FunctionPassManagerImpl::run(Function &F) { char FPPassManager::ID = 0; /// Print passes managed by this manager void FPPassManager::dumpPassStructure(unsigned Offset) { - llvm::dbgs() << std::string(Offset*2, ' ') << "FunctionPass Manager\n"; + dbgs().indent(Offset*2) << "FunctionPass Manager\n"; for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { FunctionPass *FP = getContainedPass(Index); FP->dumpPassStructure(Offset + 1); |