LLVM  14.0.0git
Namespaces | Macros | Functions
RegisterEHFrames.cpp File Reference
#include "llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h"
#include "llvm/Config/config.h"
#include "llvm/ExecutionEngine/JITSymbol.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/FormatVariadic.h"
Include dependency graph for RegisterEHFrames.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::orc
 

Macros

#define DEBUG_TYPE   "orc"
 

Functions

void llvm::orc::__register_frame (const void *)
 
void llvm::orc::__deregister_frame (const void *)
 
Error llvm::orc::registerFrameWrapper (const void *P)
 
Error llvm::orc::deregisterFrameWrapper (const void *P)
 
Error llvm::orc::registerEHFrameSection (const void *EHFrameSectionAddr, size_t EHFrameSectionSize)
 Register frames in the given eh-frame section with libunwind. More...
 
Error llvm::orc::deregisterEHFrameSection (const void *EHFrameSectionAddr, size_t EHFrameSectionSize)
 Unregister frames in the given eh-frame section with libunwind. More...
 
llvm::orc::shared::detail::CWrapperFunctionResult llvm_orc_registerEHFrameSectionCustomDirectWrapper (const char *EHFrameSectionAddr, uint64_t Size)
 An eh-frame registration utility suitable for use as a support function call. More...
 
llvm::orc::shared::detail::CWrapperFunctionResult llvm_orc_deregisterEHFrameSectionCustomDirectWrapper (const char *EHFrameSectionAddr, uint64_t Size)
 An eh-frame deregistration utility suitable for use as a support function call. More...
 
static Error registerEHFrameWrapper (JITTargetAddress Addr, uint64_t Size)
 
static Error deregisterEHFrameWrapper (JITTargetAddress Addr, uint64_t Size)
 
orc::shared::detail::CWrapperFunctionResult llvm_orc_registerEHFrameSectionWrapper (const char *Data, uint64_t Size)
 
orc::shared::detail::CWrapperFunctionResult llvm_orc_deregisterEHFrameSectionWrapper (const char *Data, uint64_t Size)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 21 of file RegisterEHFrames.cpp.

Function Documentation

◆ deregisterEHFrameWrapper()

static Error deregisterEHFrameWrapper ( JITTargetAddress  Addr,
uint64_t  Size 
)
static

◆ llvm_orc_deregisterEHFrameSectionCustomDirectWrapper()

llvm::orc::shared::detail::CWrapperFunctionResult llvm_orc_deregisterEHFrameSectionCustomDirectWrapper ( const char *  EHFrameSectionAddr,
uint64_t  Size 
)

An eh-frame deregistration utility suitable for use as a support function call.

This function expects the direct address and size of the eh-frame section to register as its arguments (it does not treat its arguments as pointers to an SPS-serialized arg buffer).

Definition at line 171 of file RegisterEHFrames.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo().

◆ llvm_orc_deregisterEHFrameSectionWrapper()

orc::shared::detail::CWrapperFunctionResult llvm_orc_deregisterEHFrameSectionWrapper ( const char *  Data,
uint64_t  Size 
)

◆ llvm_orc_registerEHFrameSectionCustomDirectWrapper()

llvm::orc::shared::detail::CWrapperFunctionResult llvm_orc_registerEHFrameSectionCustomDirectWrapper ( const char *  EHFrameSectionAddr,
uint64_t  Size 
)

An eh-frame registration utility suitable for use as a support function call.

This function expects the direct address and size of the eh-frame section to register as its arguments (it does not treat its arguments as pointers to an SPS-serialized arg buffer).

Definition at line 162 of file RegisterEHFrames.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo().

◆ llvm_orc_registerEHFrameSectionWrapper()

orc::shared::detail::CWrapperFunctionResult llvm_orc_registerEHFrameSectionWrapper ( const char *  Data,
uint64_t  Size 
)

Definition at line 190 of file RegisterEHFrames.cpp.

References llvm::Data, handle, registerEHFrameWrapper(), and llvm::Check::Size.

◆ registerEHFrameWrapper()

static Error registerEHFrameWrapper ( JITTargetAddress  Addr,
uint64_t  Size 
)
static