class DwarfException;
class MachineModuleInfo;
class MachineFunction;
+class Value;
class Module;
class GlobalVariable;
class TargetAsmInfo;
///
void EndFunction(MachineFunction *MF);
+ /// ValidDebugInfo - Return true if V represents valid debug info value.
+ bool ValidDebugInfo(Value *V);
- /// label. Returns a unique label ID used to generate a label and provide
- /// correspondence to the source line list.
+ /// 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.
unsigned RecordSourceLine(unsigned Line, unsigned Col, unsigned Src);
/// RecordSource - Register a source file with debug info. Returns an source
/// getRecordSourceLineCount - Count source lines.
unsigned getRecordSourceLineCount();
+ /// RecordVariable - Indicate the declaration of a local variable.
+ ///
+ void RecordVariable(GlobalVariable *GV, unsigned FrameIndex);
+
};