LLVM API Documentation

llvm::PIC16DbgInfo Class Reference

#include <PIC16DebugInfo.h>

Collaboration diagram for llvm::PIC16DbgInfo:
[legend]

List of all members.

Public Member Functions

 PIC16DbgInfo (formatted_raw_ostream &o, const TargetAsmInfo *T)
void BeginModule (Module &M)
void BeginFunction (const MachineFunction &MF)
void ChangeDebugLoc (const MachineFunction &MF, const DebugLoc &DL, bool IsInBeginFunction=false)
void EndFunction (const MachineFunction &MF)
void EndModule (Module &M)


Detailed Description

Definition at line 95 of file PIC16DebugInfo.h.


Constructor & Destructor Documentation

llvm::PIC16DbgInfo::PIC16DbgInfo ( formatted_raw_ostream &  o,
const TargetAsmInfo *  T 
) [inline]

Definition at line 106 of file PIC16DebugInfo.h.


Member Function Documentation

void PIC16DbgInfo::BeginModule ( Module &  M  ) 

BeginModule - Emit necessary debug info to start a Module and do other required initializations.

Definition at line 206 of file PIC16DebugInfo.cpp.

References llvm::DebugInfoFinder::compile_unit_begin(), llvm::DebugInfoFinder::compile_unit_count(), and llvm::DebugInfoFinder::processModule().

Referenced by llvm::PIC16AsmPrinter::doInitialization().

void PIC16DbgInfo::BeginFunction ( const MachineFunction &  MF  ) 

BeginFunction - Emit necessary debug info to start a function.

Definition at line 239 of file PIC16DebugInfo.cpp.

References ChangeDebugLoc(), GetDebugLocForFunction(), llvm::MachineFunction::getFunction(), and llvm::DebugLoc::isUnknown().

void PIC16DbgInfo::ChangeDebugLoc ( const MachineFunction &  MF,
const DebugLoc &  DL,
bool  IsInBeginFunction = false 
)

ChangeDebugLoc - Take necessary steps when DebugLoc changes. CurFile and CurLine may change as a result of this.

Definition at line 256 of file PIC16DebugInfo.cpp.

References llvm::DebugLocTuple::CompileUnit, llvm::MachineFunction::getDebugLocTuple(), llvm::DebugLoc::isUnknown(), and llvm::DebugLocTuple::Line.

Referenced by BeginFunction().

void PIC16DbgInfo::EndFunction ( const MachineFunction &  MF  ) 

EndFunction - Emit .ef for end of function.

Definition at line 278 of file PIC16DebugInfo.cpp.

References GetDebugLocForFunction(), llvm::MachineFunction::getFunction(), and llvm::DebugLoc::isUnknown().

void PIC16DbgInfo::EndModule ( Module &  M  ) 

EndModule - Emit .eof for end of module.

Definition at line 288 of file PIC16DebugInfo.cpp.

Referenced by llvm::PIC16AsmPrinter::doFinalization().


The documentation for this class was generated from the following files: