LLVM  mainline
Classes | Namespaces | Typedefs | Functions
DebugInfo.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ErrorHandling.h"
#include <iterator>
Include dependency graph for DebugInfo.h:

Go to the source code of this file.

Classes

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

Namespaces

namespace  llvm
 

Compute iterated dominance frontiers using a linear time algorithm.


Typedefs

typedef DenseMap< const
MDString *, MDType * > 
llvm::DITypeIdentifierMap
 Maps from type identifier to the actual MDNode.

Functions

MDSubprogramllvm::getDISubprogram (const MDNode *Scope)
 Find subprogram that is enclosing this scope.
MDSubprogramllvm::getDISubprogram (const Function *F)
 Find debug info for a given function.
MDCompositeTypeBasellvm::getDICompositeType (MDType *T)
 Find underlying composite type.
DITypeIdentifierMap llvm::generateDITypeIdentifierMap (const NamedMDNode *CU_Nodes)
 Generate map by visiting all retained types.
bool llvm::StripDebugInfo (Module &M)
 Strip debug info in the module if it exists.
bool llvm::stripDebugInfo (Function &F)
unsigned llvm::getDebugMetadataVersionFromModule (const Module &M)
 Return Debug Info Metadata Version by checking module flags.
DenseMap< const Function
*, MDSubprogram * > 
llvm::makeSubprogramMap (const Module &M)