aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-03 22:03:35 +0000
committerArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-03 22:03:35 +0000
commit1d783f9f34d2bef7772a07fe69e6d65e49182a7e (patch)
treeb24ca70415c1a9a98cfceab9b429c1d019473a87 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parentf102719b65afb422e9fefca3e1934e7a62be7a52 (diff)
downloadexternal_llvm-1d783f9f34d2bef7772a07fe69e6d65e49182a7e.zip
external_llvm-1d783f9f34d2bef7772a07fe69e6d65e49182a7e.tar.gz
external_llvm-1d783f9f34d2bef7772a07fe69e6d65e49182a7e.tar.bz2
-Remove the DwarfWriter::RecordSourceLine calls from the instruction selectors.
-Depend on DebugLocs for source line info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 848f45e..0d21dea 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -3262,13 +3262,6 @@ 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.
- if (!Lines.empty()) {
- const SrcLineInfo &LineInfo = Lines[0];
- Asm->printLabel(LineInfo.getLabelID());
- }
-
if (TimePassesIsEnabled)
DebugTimer->stopTimer();
}