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

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "orc"
 

Functions

LLVM_ATTRIBUTE_VISIBILITY_DEFAULT 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_ATTRIBUTE_VISIBILITY_DEFAULT struct jit_descriptor __jit_debug_descriptor
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 19 of file JITLoaderGDB.cpp.

Function Documentation

◆ __jit_debug_register_code()

LLVM_ATTRIBUTE_VISIBILITY_DEFAULT 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_ATTRIBUTE_VISIBILITY_DEFAULT struct jit_descriptor __jit_debug_descriptor
Initial value:
nullptr, nullptr}
static constexpr uint32_t JitDescriptorVersion

Definition at line 30 of file JITLoaderGDB.cpp.

Referenced by appendJITDebugDescriptor().

◆ JitDescriptorVersion

constexpr uint32_t JitDescriptorVersion = 1
staticconstexpr

Definition at line 22 of file JITLoaderGDB.cpp.