Print newlines after printing labels for debug info, so that the output
[oota-llvm.git] / lib / CodeGen / AsmPrinter / AsmPrinter.cpp
index a8f164cd9c27325631e0a9fe1fd41137a1604c2b..44fd176a79e55c20cd85ec6ef21961fe7d96e35e 100644 (file)
@@ -1374,6 +1374,7 @@ void AsmPrinter::processDebugLoc(const MachineInstr *MI,
       unsigned L = DW->RecordSourceLine(CurDLT.Line, CurDLT.Col,
                                         CurDLT.Scope);
       printLabel(L);
+      O << '\n';
       DW->BeginScope(MI, L);
       PrevDLT = CurDLT;
     }