summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-05 02:00:34 +0000
committerDan Gohman <gohman@apple.com>2009-12-05 02:00:34 +0000
commitb3b9821cdeb58a568080c8d49b4f9432b1135905 (patch)
tree225a2cc3982ca0c1f416ddcb3872b649e35372ae
parent688da28687788f6ae372c5a3176815e7a69d2cda (diff)
downloadllvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.tar.gz
llvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.tar.bz2
llvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.tar.xz
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
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 0dfab12f98..3adb520d99 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2616,9 +2616,9 @@ void DwarfDebug::emitDebugLines() {
std::pair<unsigned, unsigned> 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.