add missing filename!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-03-10 02:29:31 +00:00
parent 98cdab53c3
commit 49f618a1e4

View File

@ -2616,6 +2616,8 @@ void DwarfDebug::emitDebugLines() {
std::pair<unsigned, unsigned> SrcID = std::pair<unsigned, unsigned> SrcID =
getSourceDirectoryAndFileIds(LineInfo.getSourceID()); getSourceDirectoryAndFileIds(LineInfo.getSourceID());
Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) + Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) +
"/" +
Twine(getSourceFileName(SrcID.second)) +
":" + Twine(LineInfo.getLine())); ":" + Twine(LineInfo.getLine()));
} }