LLVM  13.0.0git
Classes | Namespaces | Functions
DebugInfo.h File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/DebugInfoMetadata.h"
Include dependency graph for DebugInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::DebugInfoFinder
 Utility to find all debug info in a module. More...
 

Namespaces

 llvm
 

Functions

TinyPtrVector< DbgVariableIntrinsic * > llvm::FindDbgAddrUses (Value *V)
 Finds all intrinsics declaring local variables as living in the memory that 'V' points to. More...
 
TinyPtrVector< DbgDeclareInst * > llvm::FindDbgDeclareUses (Value *V)
 Like FindDbgAddrUses, but only returns dbg.declare intrinsics, not dbg.addr. More...
 
void llvm::findDbgValues (SmallVectorImpl< DbgValueInst * > &DbgValues, Value *V)
 Finds the llvm.dbg.value intrinsics describing a value. More...
 
void llvm::findDbgUsers (SmallVectorImpl< DbgVariableIntrinsic * > &DbgInsts, Value *V)
 Finds the debug info intrinsics describing a value. More...
 
DISubprogramllvm::getDISubprogram (const MDNode *Scope)
 Find subprogram that is enclosing this scope. More...
 
bool llvm::StripDebugInfo (Module &M)
 Strip debug info in the module if it exists. More...
 
bool llvm::stripDebugInfo (Function &F)
 
bool llvm::stripNonLineTableDebugInfo (Module &M)
 Downgrade the debug info in a module to contain only line table information. More...
 
void llvm::updateLoopMetadataDebugLocations (Instruction &I, function_ref< DILocation *(const DILocation &)> Updater)
 Update the debug locations contained within the MD_loop metadata attached to the instruction I, if one exists. More...
 
unsigned llvm::getDebugMetadataVersionFromModule (const Module &M)
 Return Debug Info Metadata Version by checking module flags. More...