LLVM  14.0.0git
Classes | Macros | Enumerations | 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/ManagedStatic.h"
#include <cstdint>
#include <mutex>
#include <utility>
Include dependency graph for JITLoaderGDB.cpp:

Go to the source code of this file.

Classes

struct  jit_code_entry
 
struct  jit_descriptor
 

Macros

#define DEBUG_TYPE   "orc"
 

Enumerations

enum  jit_actions_t {
  JIT_NOACTION = 0, JIT_REGISTER_FN, JIT_UNREGISTER_FN, JIT_NOACTION = 0,
  JIT_REGISTER_FN, JIT_UNREGISTER_FN
}
 

Functions

LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code ()
 
static void registerJITLoaderGDBImpl (ExecutorAddrRange DebugObjRange)
 
orc::shared::detail::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBWrapper (const char *Data, uint64_t Size)
 

Variables

static constexpr uint32_t JitDescriptorVersion = 1
 
struct jit_descriptor __jit_debug_descriptor
 
ManagedStatic< std::mutex > JITDebugLock
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 19 of file JITLoaderGDB.cpp.

Enumeration Type Documentation

◆ jit_actions_t

Enumerator
JIT_NOACTION 
JIT_REGISTER_FN 
JIT_UNREGISTER_FN 
JIT_NOACTION 
JIT_REGISTER_FN 
JIT_UNREGISTER_FN 

Definition at line 27 of file JITLoaderGDB.cpp.

Function Documentation

◆ __jit_debug_register_code()

LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code ( )

Definition at line 57 of file JITLoaderGDB.cpp.

Referenced by registerJITLoaderGDBImpl().

◆ llvm_orc_registerJITLoaderGDBWrapper()

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

Definition at line 97 of file JITLoaderGDB.cpp.

References llvm::Data, handle, registerJITLoaderGDBImpl(), and llvm::Check::Size.

◆ registerJITLoaderGDBImpl()

static void registerJITLoaderGDBImpl ( ExecutorAddrRange  DebugObjRange)
static

Variable Documentation

◆ __jit_debug_descriptor

struct jit_descriptor __jit_debug_descriptor
Initial value:
nullptr, nullptr}

Definition at line 52 of file JITLoaderGDB.cpp.

Referenced by registerJITLoaderGDBImpl().

◆ JITDebugLock

ManagedStatic<std::mutex> JITDebugLock

Definition at line 70 of file JITLoaderGDB.cpp.

Referenced by registerJITLoaderGDBImpl().

◆ JitDescriptorVersion

constexpr uint32_t JitDescriptorVersion = 1
staticconstexpr

Definition at line 22 of file JITLoaderGDB.cpp.

JitDescriptorVersion
static constexpr uint32_t JitDescriptorVersion
Definition: JITLoaderGDB.cpp:22