summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
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
commit0891d759b54c474997122c41da62244fbf386a1d (patch)
tree99b294ab3fb4a5785b49df42662ca7abfa45707c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent49687742809b1d5a140f1939f5c621de1e507953 (diff)
downloadbcm5719-llvm-0891d759b54c474997122c41da62244fbf386a1d.tar.gz
bcm5719-llvm-0891d759b54c474997122c41da62244fbf386a1d.zip
Don't print a space before the : between the file name and line number.
And separate the directory and file name with a '/'. llvm-svn: 90641
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 0dfab12f988..3adb520d995 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud