mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 18:24:34 +00:00
Now that setStartLabel takes an MCSymbol, we can de-ID'ize
beginScope and RecordSourceLine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,6 +35,7 @@ class Value;
|
||||
class Module;
|
||||
class MDNode;
|
||||
class MCAsmInfo;
|
||||
class MCSymbol;
|
||||
class raw_ostream;
|
||||
class Instruction;
|
||||
class DICompileUnit;
|
||||
@@ -82,10 +83,10 @@ public:
|
||||
///
|
||||
void EndFunction(const MachineFunction *MF);
|
||||
|
||||
/// RecordSourceLine - Register a source line with debug info. Returns a
|
||||
/// unique label ID used to generate a label and provide correspondence to
|
||||
/// RecordSourceLine - Register a source line with debug info. Returns the
|
||||
/// unique label that was emitted and which provides correspondence to
|
||||
/// the source line list.
|
||||
unsigned RecordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
|
||||
MCSymbol *RecordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
|
||||
|
||||
/// getRecordSourceLineCount - Count source lines.
|
||||
unsigned getRecordSourceLineCount();
|
||||
@@ -94,7 +95,7 @@ public:
|
||||
/// be emitted.
|
||||
bool ShouldEmitDwarfDebug() const;
|
||||
|
||||
void BeginScope(const MachineInstr *MI, unsigned Label);
|
||||
void BeginScope(const MachineInstr *MI, MCSymbol *Label);
|
||||
void EndScope(const MachineInstr *MI);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user