aboutsummaryrefslogtreecommitdiff
path: root/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
commit28f1412c97fc0740d6743c5226a4ddd65b72c891 (patch)
tree012da7f42c65754dd7449f98956e819bfaa51316 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parentcffb5284f12afdfa5ba9cb6dbddcf0699ec11d84 (diff)
Restore a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 8ca8590c33..8ccd38072c 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/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);