LLDB mainline
Classes | Macros | Enumerations | Functions
JITLoaderGDB.cpp File Reference
#include "JITLoaderGDB.h"
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
#include "lldb/Breakpoint/Breakpoint.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Interpreter/OptionValueProperties.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Support/MathExtras.h"
#include <memory>
#include "JITLoaderGDBProperties.inc"
#include "JITLoaderGDBPropertiesEnum.inc"

Go to the source code of this file.

Classes

struct  jit_code_entry< ptr_t >
 
struct  jit_descriptor< ptr_t >
 

Macros

#define LLDB_PROPERTIES_jitloadergdb
 
#define LLDB_PROPERTIES_jitloadergdb
 

Enumerations

enum  jit_actions_t { JIT_NOACTION = 0 , JIT_REGISTER_FN , JIT_UNREGISTER_FN }
 

Functions

static PluginProperties & GetGlobalPluginProperties ()
 
template<typename ptr_t >
static bool ReadJITEntry (const addr_t from_addr, Process *process, jit_code_entry< ptr_t > *entry)
 
static void updateSectionLoadAddress (const SectionList &section_list, Target &target, uint64_t symbolfile_addr, uint64_t symbolfile_size, uint64_t &vmaddrheuristic, uint64_t &min_addr, uint64_t &max_addr)
 

Macro Definition Documentation

◆ LLDB_PROPERTIES_jitloadergdb [1/2]

#define LLDB_PROPERTIES_jitloadergdb

Definition at line 85 of file JITLoaderGDB.cpp.

◆ LLDB_PROPERTIES_jitloadergdb [2/2]

#define LLDB_PROPERTIES_jitloadergdb

Definition at line 85 of file JITLoaderGDB.cpp.

Enumeration Type Documentation

◆ jit_actions_t

Enumerator
JIT_NOACTION 
JIT_REGISTER_FN 
JIT_UNREGISTER_FN 

Definition at line 39 of file JITLoaderGDB.cpp.

Function Documentation

◆ GetGlobalPluginProperties()

static PluginProperties & GetGlobalPluginProperties ( )
static

◆ ReadJITEntry()

template<typename ptr_t >
static bool ReadJITEntry ( const addr_t  from_addr,
Process process,
jit_code_entry< ptr_t > *  entry 
)
static

◆ updateSectionLoadAddress()

static void updateSectionLoadAddress ( const SectionList section_list,
Target target,
uint64_t  symbolfile_addr,
uint64_t  symbolfile_size,
uint64_t &  vmaddrheuristic,
uint64_t &  min_addr,
uint64_t &  max_addr 
)
static