LLVM 20.0.0git
Public Member Functions | List of all members
llvm::DIInliningInfo Class Reference

A format-neutral container for inlined code description. More...

#include "llvm/DebugInfo/DIContext.h"

Public Member Functions

 DIInliningInfo ()=default
 
const DILineInfogetFrame (unsigned Index) const
 Returns the frame at Index.
 
DILineInfogetMutableFrame (unsigned Index)
 
uint32_t getNumberOfFrames () const
 
void addFrame (const DILineInfo &Frame)
 
void resize (unsigned i)
 

Detailed Description

A format-neutral container for inlined code description.

Definition at line 94 of file DIContext.h.

Constructor & Destructor Documentation

◆ DIInliningInfo()

llvm::DIInliningInfo::DIInliningInfo ( )
default

Member Function Documentation

◆ addFrame()

void llvm::DIInliningInfo::addFrame ( const DILineInfo Frame)
inline

◆ getFrame()

const DILineInfo & llvm::DIInliningInfo::getFrame ( unsigned  Index) const
inline

Returns the frame at Index.

Frames are stored in bottom-up (leaf-to-root) order with increasing index.

Definition at line 102 of file DIContext.h.

References assert(), and llvm::SmallVectorBase< Size_T >::size().

◆ getMutableFrame()

DILineInfo * llvm::DIInliningInfo::getMutableFrame ( unsigned  Index)
inline

Definition at line 107 of file DIContext.h.

References assert(), and llvm::SmallVectorBase< Size_T >::size().

◆ getNumberOfFrames()

uint32_t llvm::DIInliningInfo::getNumberOfFrames ( ) const
inline

Definition at line 112 of file DIContext.h.

References llvm::SmallVectorBase< Size_T >::size().

◆ resize()

void llvm::DIInliningInfo::resize ( unsigned  i)
inline

Definition at line 116 of file DIContext.h.

References llvm::SmallVectorImpl< T >::resize().


The documentation for this class was generated from the following file: