LLVM 19.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 92 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 100 of file DIContext.h.

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

◆ getMutableFrame()

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

Definition at line 105 of file DIContext.h.

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

◆ getNumberOfFrames()

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

Definition at line 110 of file DIContext.h.

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

◆ resize()

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

Definition at line 114 of file DIContext.h.

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


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