OSDN Git Service

add newline to debug dump
authorChris Lattner <sabre@nondot.org>
Tue, 15 Sep 2009 05:14:57 +0000 (05:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Sep 2009 05:14:57 +0000 (05:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81840 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ScalarReplAggregates.cpp

index a7b033f..8f5fc37 100644 (file)
@@ -337,7 +337,7 @@ bool SROA::performScalarRepl(Function &F) {
 /// predicate, do SROA now.
 void SROA::DoScalarReplacement(AllocationInst *AI, 
                                std::vector<AllocationInst*> &WorkList) {
-  DEBUG(errs() << "Found inst to SROA: " << *AI);
+  DEBUG(errs() << "Found inst to SROA: " << *AI << '\n');
   SmallVector<AllocaInst*, 32> ElementAllocas;
   if (const StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) {
     ElementAllocas.reserve(ST->getNumContainedTypes());