summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-04 19:23:45 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-04 19:23:45 +0000
commit71fb950b73afbeba01e870adfc62a0d03a9f80c6 (patch)
tree02e28c08cd77dedf86b7667b7135155727c99252 /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent2d1e7321f65d66b2bd75e510b938a631865820f3 (diff)
downloadbcm5719-llvm-71fb950b73afbeba01e870adfc62a0d03a9f80c6.tar.gz
bcm5719-llvm-71fb950b73afbeba01e870adfc62a0d03a9f80c6.zip
Restore a comment.
llvm-svn: 70900
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 8ca8590c338..8ccd38072c6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -3262,6 +3262,8 @@ public:
// Assumes in correct section after the entry point.
EmitLabel("func_begin", ++SubprogramCount);
+ // Emit label for the implicitly defined dbg.stoppoint at the start of
+ // the function.
DebugLoc FDL = MF->getDefaultDebugLoc();
if (!FDL.isUnknown()) {
DebugLocTuple DLT = MF->getDebugLocTuple(FDL);
OpenPOWER on IntegriCloud