From: Chris Lattner Date: Wed, 10 Mar 2010 02:29:31 +0000 (+0000) Subject: add missing filename! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=49f618a1e4814a9fa3fd2855c6e2325753df477a;p=oota-llvm.git add missing filename! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98125 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index b27be78bad8..36be5b99b94 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2616,6 +2616,8 @@ void DwarfDebug::emitDebugLines() { std::pair SrcID = getSourceDirectoryAndFileIds(LineInfo.getSourceID()); Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) + + "/" + + Twine(getSourceFileName(SrcID.second)) + ":" + Twine(LineInfo.getLine())); }