aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-03-09 02:36:31 +0000
committerEric Christopher <echristo@apple.com>2010-03-09 02:36:31 +0000
commitee6414cf04d680d2c49b867fc6085be79ed32a44 (patch)
tree8d86ce626a7c96595cda5eea15197ffda4adeddf /include/llvm/CodeGen
parent19b3826d0f0e299447d0a1c47d4fb2899d32d31f (diff)
Speculatively revert r98035. It appears to have caused a set of buildbot
failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 3c7f8024d9..d59e22a812 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -35,7 +35,6 @@ class Value;
class Module;
class MDNode;
class MCAsmInfo;
-class MCSymbol;
class raw_ostream;
class Instruction;
class DICompileUnit;
@@ -83,10 +82,10 @@ public:
///
void EndFunction(const MachineFunction *MF);
- /// RecordSourceLine - Register a source line with debug info. Returns the
- /// unique label that was emitted and which provides correspondence to
+ /// RecordSourceLine - Register a source line with debug info. Returns a
+ /// unique label ID used to generate a label and provide correspondence to
/// the source line list.
- MCSymbol *RecordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
+ unsigned RecordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
/// getRecordSourceLineCount - Count source lines.
unsigned getRecordSourceLineCount();
@@ -95,7 +94,7 @@ public:
/// be emitted.
bool ShouldEmitDwarfDebug() const;
- void BeginScope(const MachineInstr *MI, MCSymbol *Label);
+ void BeginScope(const MachineInstr *MI, unsigned Label);
void EndScope(const MachineInstr *MI);
};