LLVM 20.0.0git
|
#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 |
#define DEBUG_TYPE "orc" |
Definition at line 19 of file JITLoaderGDB.cpp.
LLVM_ATTRIBUTE_VISIBILITY_DEFAULT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code | ( | ) |
Definition at line 36 of file JITLoaderGDB.cpp.
Referenced by llvm_orc_registerJITLoaderGDBAllocAction(), and llvm_orc_registerJITLoaderGDBWrapper().
Definition at line 49 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 80 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 96 of file JITLoaderGDB.cpp.
References __jit_debug_register_code(), appendJITDebugDescriptor(), llvm::release, Size, and llvm::Error::success().
LLVM_ATTRIBUTE_VISIBILITY_DEFAULT struct jit_descriptor __jit_debug_descriptor |
Definition at line 30 of file JITLoaderGDB.cpp.
Referenced by appendJITDebugDescriptor().
|
staticconstexpr |
Definition at line 22 of file JITLoaderGDB.cpp.