LLVM: llvm::DebugInfoFinder Class Reference (original) (raw)
Utility to find all debug info in a module. More...
#include "[llvm/IR/DebugInfo.h](llvm%5F2IR%5F2DebugInfo%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | compile_unit_iterator |
| using | subprogram_iterator = SmallVectorImpl<DISubprogram *>::const_iterator |
| using | global_variable_expression_iterator |
| using | type_iterator = SmallVectorImpl<DIType *>::const_iterator |
| using | scope_iterator = SmallVectorImpl<DIScope *>::const_iterator |
Utility to find all debug info in a module.
DebugInfoFinder tries to list all debug info MDNodes used in a module. To list debug info MDNodes used by an instruction, DebugInfoFinder uses processDeclare, processValue and processLocation to handle DbgDeclareInst, DbgValueInst and DbgLoc attached to instructions. processModule will go through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes used by the CUs.
Definition at line 105 of file DebugInfo.h.
◆ compile_unit_iterator
Initial value:
typename SuperClass::const_iterator const_iterator
Definition at line 137 of file DebugInfo.h.
◆ global_variable_expression_iterator
◆ scope_iterator
◆ subprogram_iterator
◆ type_iterator
◆ compile_unit_count()
| unsigned llvm::DebugInfoFinder::compile_unit_count ( ) const | inline |
|---|
◆ compile_units()
◆ global_variable_count()
| unsigned llvm::DebugInfoFinder::global_variable_count ( ) const | inline |
|---|
◆ global_variables()
◆ processDbgRecord()
◆ processInstruction()
◆ processLocation()
◆ processModule()
| void DebugInfoFinder::processModule | ( | const Module & | M | ) |
|---|
◆ processSubprogram()
| void DebugInfoFinder::processSubprogram | ( | DISubprogram * | SP | ) |
|---|
◆ processVariable()
◆ reset()
| void DebugInfoFinder::reset | ( | ) |
|---|
◆ scope_count()
| unsigned llvm::DebugInfoFinder::scope_count ( ) const | inline |
|---|
◆ scopes()
◆ subprogram_count()
| unsigned llvm::DebugInfoFinder::subprogram_count ( ) const | inline |
|---|
◆ subprograms()
◆ type_count()
| unsigned llvm::DebugInfoFinder::type_count ( ) const | inline |
|---|
◆ types()
The documentation for this class was generated from the following files:
- include/llvm/IR/DebugInfo.h
- lib/IR/DebugInfo.cpp