LLVM 20.0.0git
Macros | Functions | Variables
JITLoaderGDB.cpp File Reference
#include "llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/FormatVariadic.h"
#include <cstdint>
#include <mutex>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "orc"
 

Functions

LLVM_ALWAYS_EXPORT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code ()
 
static void appendJITDebugDescriptor (const char *ObjAddr, size_t Size)
 
orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction (const char *Data, size_t Size)
 
orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBWrapper (const char *Data, uint64_t Size)
 

Variables

static constexpr uint32_t JitDescriptorVersion = 1
 
LLVM_ALWAYS_EXPORT struct jit_descriptor __jit_debug_descriptor
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 17 of file JITLoaderGDB.cpp.

Function Documentation

◆ __jit_debug_register_code()

LLVM_ALWAYS_EXPORT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code ( )

◆ appendJITDebugDescriptor()

static void appendJITDebugDescriptor ( const char ObjAddr,
size_t  Size 
)
static

◆ llvm_orc_registerJITLoaderGDBAllocAction()

orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction ( const char Data,
size_t  Size 
)

◆ llvm_orc_registerJITLoaderGDBWrapper()

orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBWrapper ( const char Data,
uint64_t  Size 
)

Variable Documentation

◆ __jit_debug_descriptor

LLVM_ALWAYS_EXPORT struct jit_descriptor __jit_debug_descriptor
Initial value:
nullptr, nullptr}
static constexpr uint32_t JitDescriptorVersion

Definition at line 28 of file JITLoaderGDB.cpp.

Referenced by appendJITDebugDescriptor().

◆ JitDescriptorVersion

constexpr uint32_t JitDescriptorVersion = 1
staticconstexpr

Definition at line 20 of file JITLoaderGDB.cpp.