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 | b3b9821cdeb58a568080c8d49b4f9432b1135905 (patch) | |
tree | 225a2cc3982ca0c1f416ddcb3872b649e35372ae | |
parent | 688da28687788f6ae372c5a3176815e7a69d2cda (diff) | |
download | external_llvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.zip external_llvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.tar.gz external_llvm-b3b9821cdeb58a568080c8d49b4f9432b1135905.tar.bz2 |
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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 0dfab12..3adb520 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. |