aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-04 19:23:45 +0000
committerArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-04 19:23:45 +0000
commit8cac493bc70438232671b5821e31aa0f086af8b9 (patch)
tree012da7f42c65754dd7449f98956e819bfaa51316 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent7a969d8c47d8916099ff7a2dcb87cf42137e03c4 (diff)
downloadexternal_llvm-8cac493bc70438232671b5821e31aa0f086af8b9.zip
external_llvm-8cac493bc70438232671b5821e31aa0f086af8b9.tar.gz
external_llvm-8cac493bc70438232671b5821e31aa0f086af8b9.tar.bz2
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 8ca8590..8ccd380 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);