From: Dan Gohman Date: Sat, 5 Dec 2009 02:00:34 +0000 (+0000) Subject: Don't print a space before the : between the file name and line number. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3b9821cdeb58a568080c8d49b4f9432b1135905;p=oota-llvm.git Don't print a space before the : between the file name and line number. And separate the directory and file name with a '/'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90641 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 0dfab12f988..3adb520d995 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2616,9 +2616,9 @@ void DwarfDebug::emitDebugLines() { std::pair SourceID = getSourceDirectoryAndFileIds(LineInfo.getSourceID()); O << '\t' << MAI->getCommentString() << ' ' - << getSourceDirectoryName(SourceID.first) << ' ' + << getSourceDirectoryName(SourceID.first) << '/' << getSourceFileName(SourceID.second) - <<" :" << utostr_32(LineInfo.getLine()) << '\n'; + << ':' << utostr_32(LineInfo.getLine()) << '\n'; } // Define the line address.