LLVM API Documentation
#include <DwarfWriter.h>
Public Member Functions | |
| DwarfWriter () | |
| virtual | ~DwarfWriter () |
| void | BeginModule (Module *M, MachineModuleInfo *MMI, raw_ostream &OS, AsmPrinter *A, const TargetAsmInfo *T) |
| void | EndModule () |
| void | BeginFunction (MachineFunction *MF) |
| void | EndFunction (MachineFunction *MF) |
| bool | ValidDebugInfo (Value *V) |
| ValidDebugInfo - Return true if V represents valid debug info value. | |
| unsigned | RecordSourceLine (unsigned Line, unsigned Col, unsigned Src) |
| unsigned | RecordSource (const std::string &Dir, const std::string &File) |
| unsigned | RecordRegionStart (GlobalVariable *V) |
| RecordRegionStart - Indicate the start of a region. | |
| unsigned | RecordRegionEnd (GlobalVariable *V) |
| RecordRegionEnd - Indicate the end of a region. | |
| unsigned | getRecordSourceLineCount () |
| getRecordSourceLineCount - Count source lines. | |
| void | RecordVariable (GlobalVariable *GV, unsigned FrameIndex) |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 42 of file DwarfWriter.h.
| llvm::DwarfWriter::DwarfWriter | ( | ) |
| virtual llvm::DwarfWriter::~DwarfWriter | ( | ) | [virtual] |
| void llvm::DwarfWriter::BeginModule | ( | Module * | M, | |
| MachineModuleInfo * | MMI, | |||
| raw_ostream & | OS, | |||
| AsmPrinter * | A, | |||
| const TargetAsmInfo * | T | |||
| ) |
BeginModule - Emit all Dwarf sections that should come prior to the content.
Referenced by llvm::X86ATTAsmPrinter::doInitialization().
| void llvm::DwarfWriter::EndModule | ( | ) |
EndModule - Emit all Dwarf sections that should come after the content.
Referenced by llvm::X86ATTAsmPrinter::doFinalization().
| void llvm::DwarfWriter::BeginFunction | ( | MachineFunction * | MF | ) |
BeginFunction - Gather pre-function debug information. Assumes being emitted immediately after the function entry point.
Referenced by llvm::X86ATTAsmPrinter::runOnMachineFunction().
| void llvm::DwarfWriter::EndFunction | ( | MachineFunction * | MF | ) |
EndFunction - Gather and emit post-function debug information.
Referenced by llvm::X86ATTAsmPrinter::runOnMachineFunction().
| bool llvm::DwarfWriter::ValidDebugInfo | ( | Value * | V | ) |
ValidDebugInfo - Return true if V represents valid debug info value.
Referenced by llvm::FunctionLoweringInfo::set().
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 llvm::DwarfWriter::RecordSource | ( | const std::string & | Dir, | |
| const std::string & | File | |||
| ) |
RecordSource - Register a source file with debug info. Returns an source ID.
Referenced by llvm::FunctionLoweringInfo::set().
| unsigned llvm::DwarfWriter::RecordRegionStart | ( | GlobalVariable * | V | ) |
RecordRegionStart - Indicate the start of a region.
| unsigned llvm::DwarfWriter::RecordRegionEnd | ( | GlobalVariable * | V | ) |
RecordRegionEnd - Indicate the end of a region.
| unsigned llvm::DwarfWriter::getRecordSourceLineCount | ( | ) |
getRecordSourceLineCount - Count source lines.
| void llvm::DwarfWriter::RecordVariable | ( | GlobalVariable * | GV, | |
| unsigned | FrameIndex | |||
| ) |
RecordVariable - Indicate the declaration of a local variable.
Referenced by llvm::AsmPrinter::printDeclare().
char DwarfWriter::ID = 0 [static] |
Definition at line 53 of file DwarfWriter.h.