LLVM: lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp File Reference (original) (raw)
#include "[llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h](JITLoaderGDB%5F8h%5Fsource.html)"#include "[llvm/Support/Compiler.h](Compiler%5F8h%5Fsource.html)"#include "[llvm/Support/FormatVariadic.h](FormatVariadic%5F8h%5Fsource.html)"#include <cstdint>#include <mutex>
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "orc" |
| Functions | |
|---|---|
| LLVM_ABI 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 *ArgData, size_t ArgSize) |
| Variables | |
|---|---|
| static constexpr uint32_t | JitDescriptorVersion = 1 |
| LLVM_ABI 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_ABI LLVM_ALWAYS_EXPORT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code | ( | ) |
|---|
Definition at line 33 of file JITLoaderGDB.cpp.
Referenced by llvm_orc_registerJITLoaderGDBAllocAction().
◆ appendJITDebugDescriptor()
| void appendJITDebugDescriptor ( const char * ObjAddr, size_t Size ) | static |
|---|
Definition at line 46 of file JITLoaderGDB.cpp.
References __jit_debug_descriptor, llvm::dbgs(), E(), llvm::formatv(), JIT_REGISTER_FN, LLVM_DEBUG, jit_code_entry::prev_entry, and Size.
Referenced by llvm_orc_registerJITLoaderGDBAllocAction().
◆ llvm_orc_registerJITLoaderGDBAllocAction()
| orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction | ( | const char * | ArgData, |
|---|---|---|---|
| size_t | ArgSize ) |
Definition at line 77 of file JITLoaderGDB.cpp.
References __jit_debug_register_code(), appendJITDebugDescriptor(), llvm::release, and llvm::Error::success().
Referenced by llvm::orc::addDefaultBootstrapValuesForHostProcess().
Variable Documentation
◆ __jit_debug_descriptor
LLVM_ABI LLVM_ALWAYS_EXPORT struct jit_descriptor __jit_debug_descriptor
Initial value:
= {
JitDescriptorVersion, 0, nullptr, nullptr}
static constexpr uint32_t JitDescriptorVersion
Definition JITLoaderGDB.cpp:20
Definition at line 27 of file JITLoaderGDB.cpp.
Referenced by appendJITDebugDescriptor().
◆ JitDescriptorVersion
| uint32_t JitDescriptorVersion = 1 | staticconstexpr |
|---|
Definition at line 20 of file JITLoaderGDB.cpp.