LLVM API Documentation

DebugInfo.cpp File Reference

#include "llvm/Analysis/DebugInfo.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Intrinsics.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Instructions.h"
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Support/Streams.h"

Include dependency graph for DebugInfo.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

const DbgStopPointInst * llvm::findStopPoint (const Instruction *Inst)
const DbgStopPointInst * llvm::findBBStopPoint (const BasicBlock *BB)
Value * llvm::findDbgGlobalDeclare (GlobalVariable *V)
 Find the debug info descriptor corresponding to this global variable.
const DbgDeclareInst * llvm::findDbgDeclare (const Value *V, bool stripCasts=true)
bool llvm::getLocationInfo (const Value *V, std::string &DisplayName, std::string &Type, unsigned &LineNo, std::string &File, std::string &Dir)
bool llvm::isValidDebugInfoIntrinsic (DbgStopPointInst &SPI, CodeGenOpt::Level OptLev)
bool llvm::isValidDebugInfoIntrinsic (DbgFuncStartInst &FSI, CodeGenOpt::Level OptLev)
bool llvm::isValidDebugInfoIntrinsic (DbgRegionStartInst &RSI, CodeGenOpt::Level OptLev)
bool llvm::isValidDebugInfoIntrinsic (DbgRegionEndInst &REI, CodeGenOpt::Level OptLev)
bool llvm::isValidDebugInfoIntrinsic (DbgDeclareInst &DI, CodeGenOpt::Level OptLev)
DebugLoc llvm::ExtractDebugLocation (DbgStopPointInst &SPI, DebugLocTracker &DebugLocInfo)
DebugLoc llvm::ExtractDebugLocation (DbgFuncStartInst &FSI, DebugLocTracker &DebugLocInfo)
bool llvm::isInlinedFnStart (DbgFuncStartInst &FSI, const Function *CurrentFn)
 isInlinedFnStart - Return true if FSI is starting an inlined function.
bool llvm::isInlinedFnEnd (DbgRegionEndInst &REI, const Function *CurrentFn)
 isInlinedFnEnd - Return true if REI is ending an inlined function.