forked from OSchip/llvm-project
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
This commit is contained in:
parent
4968774280
commit
0891d759b5
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue