LLVM 20.0.0git
|
#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 |
#define DEBUG_TYPE "orc" |
Definition at line 17 of file JITLoaderGDB.cpp.
LLVM_ALWAYS_EXPORT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code | ( | ) |
Definition at line 34 of file JITLoaderGDB.cpp.
Referenced by llvm_orc_registerJITLoaderGDBAllocAction(), and llvm_orc_registerJITLoaderGDBWrapper().
Definition at line 47 of file JITLoaderGDB.cpp.
References __jit_debug_descriptor, jit_descriptor::action_flag, llvm::dbgs(), jit_descriptor::first_entry, llvm::formatv(), JIT_REGISTER_FN, LLVM_DEBUG, jit_code_entry::next_entry, jit_code_entry::prev_entry, jit_descriptor::relevant_entry, Size, and jit_code_entry::symfile_addr.
Referenced by llvm_orc_registerJITLoaderGDBAllocAction(), and llvm_orc_registerJITLoaderGDBWrapper().
orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction | ( | const char * | Data, |
size_t | Size | ||
) |
Definition at line 78 of file JITLoaderGDB.cpp.
References __jit_debug_register_code(), appendJITDebugDescriptor(), llvm::release, Size, and llvm::Error::success().
orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBWrapper | ( | const char * | Data, |
uint64_t | Size | ||
) |
Definition at line 94 of file JITLoaderGDB.cpp.
References __jit_debug_register_code(), appendJITDebugDescriptor(), llvm::release, Size, and llvm::Error::success().
LLVM_ALWAYS_EXPORT struct jit_descriptor __jit_debug_descriptor |
Definition at line 28 of file JITLoaderGDB.cpp.
Referenced by appendJITDebugDescriptor().
|
staticconstexpr |
Definition at line 20 of file JITLoaderGDB.cpp.