diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-05 02:00:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-05 02:00:34 +0000 |
commit | 0891d759b54c474997122c41da62244fbf386a1d (patch) | |
tree | 99b294ab3fb4a5785b49df42662ca7abfa45707c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 49687742809b1d5a140f1939f5c621de1e507953 (diff) | |
download | bcm5719-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.cpp | 4 |
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. |