summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-10 02:29:31 +0000
committerChris Lattner <sabre@nondot.org>2010-03-10 02:29:31 +0000
commita26fbe4d68a6eeec4878907b41b34e79acfbe8b3 (patch)
treea79d1066e80bd7269d3108e5809da2b1f22e0451 /llvm
parentac2361a9b05bfbbe87b8e38da633c32608c3a923 (diff)
downloadbcm5719-llvm-a26fbe4d68a6eeec4878907b41b34e79acfbe8b3.tar.gz
bcm5719-llvm-a26fbe4d68a6eeec4878907b41b34e79acfbe8b3.zip
add missing filename!
llvm-svn: 98125
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index b27be78bad8..36be5b99b94 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2616,6 +2616,8 @@ void DwarfDebug::emitDebugLines() {
std::pair<unsigned, unsigned> SrcID =
getSourceDirectoryAndFileIds(LineInfo.getSourceID());
Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) +
+ "/" +
+ Twine(getSourceFileName(SrcID.second)) +
":" + Twine(LineInfo.getLine()));
}
OpenPOWER on IntegriCloud