LLVM 22.0.0git
Classes | Public Member Functions | List of all members
llvm::jitlink::CompactUnwindManager< CURecTraits > Class Template Reference

Architecture specific implementation of CompactUnwindManager. More...

#include "ExecutionEngine/JITLink/CompactUnwindSupport.h"

Public Member Functions

 CompactUnwindManager (StringRef CompactUnwindSectionName, StringRef UnwindInfoSectionName, StringRef EHFrameSectionName)
 
Error prepareForPrune (LinkGraph &G)
 
Error processAndReserveUnwindInfo (LinkGraph &G)
 Process all __compact_unwind records and reserve space for __unwind_info.
 
Error writeUnwindInfo (LinkGraph &G)
 

Detailed Description

template<typename CURecTraits>
class llvm::jitlink::CompactUnwindManager< CURecTraits >

Architecture specific implementation of CompactUnwindManager.

Definition at line 75 of file CompactUnwindSupport.h.

Constructor & Destructor Documentation

◆ CompactUnwindManager()

template<typename CURecTraits >
llvm::jitlink::CompactUnwindManager< CURecTraits >::CompactUnwindManager ( StringRef  CompactUnwindSectionName,
StringRef  UnwindInfoSectionName,
StringRef  EHFrameSectionName 
)
inline

Definition at line 77 of file CompactUnwindSupport.h.

Member Function Documentation

◆ prepareForPrune()

template<typename CURecTraits >
Error llvm::jitlink::CompactUnwindManager< CURecTraits >::prepareForPrune ( LinkGraph G)
inline

◆ processAndReserveUnwindInfo()

template<typename CURecTraits >
Error llvm::jitlink::CompactUnwindManager< CURecTraits >::processAndReserveUnwindInfo ( LinkGraph G)
inline

Process all __compact_unwind records and reserve space for __unwind_info.

Definition at line 215 of file CompactUnwindSupport.h.

References B, llvm::dbgs(), llvm::formatv(), G, LLVM_DEBUG, llvm::orc::NoAlloc, llvm::orc::Read, llvm::jitlink::Section::setMemLifetime(), llvm::SmallVectorBase< Size_T >::size(), and llvm::Error::success().

◆ writeUnwindInfo()

template<typename CURecTraits >
Error llvm::jitlink::CompactUnwindManager< CURecTraits >::writeUnwindInfo ( LinkGraph G)
inline

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