summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-25 17:20:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-25 17:20:59 +0000
commit1886a4c8239c3ce03733dba5a248c4169cb36178 (patch)
treef5252b200dd0682e28fb640de0ae385f4afcbffe /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent757ca6977085566766c6f0a9a161a40478bd90e8 (diff)
downloadbcm5719-llvm-1886a4c8239c3ce03733dba5a248c4169cb36178.tar.gz
bcm5719-llvm-1886a4c8239c3ce03733dba5a248c4169cb36178.zip
Emit less labels for debug info and stop emitting .loc directives for DBG_VALUEs.
The .dot directives don't need labels, that is a leftover from when we created line number info manually. Instructions following a DBG_VALUE can share its label since the DBG_VALUE doesn't produce any code. llvm-svn: 128284
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 207542dfd3f..a4260fb5ac6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -536,7 +536,7 @@ private:
/// recordSourceLine - Register a source line with debug info. Returns the
/// unique label that was emitted and which provides correspondence to
/// the source line list.
- MCSymbol *recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope);
+ void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope);
/// recordVariableFrameIndex - Record a variable's index.
void recordVariableFrameIndex(const DbgVariable *V, int Index);
OpenPOWER on IntegriCloud