LLVM API Documentation

PIC16DebugInfo.cpp File Reference

#include "PIC16.h"
#include "PIC16DebugInfo.h"
#include "llvm/GlobalVariable.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/ADT/SmallString.h"

Include dependency graph for PIC16DebugInfo.cpp:

Go to the source code of this file.

Functions

static const DebugLoc GetDebugLocForFunction (const MachineFunction &MF)


Function Documentation

static const DebugLoc GetDebugLocForFunction ( const MachineFunction &  MF  )  [static]

Helper to find first valid debug loc for a function.

Definition at line 223 of file PIC16DebugInfo.cpp.

References llvm::MachineFunction::begin(), E, llvm::MachineFunction::end(), II, and llvm::DebugLoc::isUnknown().

Referenced by llvm::PIC16DbgInfo::BeginFunction(), and llvm::PIC16DbgInfo::EndFunction().