30 m_data.SetData(data_sp, data_offset, length);
41 "%s, process = %p, header_addr = "
43 module_sp->GetFileSpec().GetPath().c_str(),
44 static_cast<void *
>(process_sp.get()), header_addr);
53 create_callback(module_sp, data_sp, process_sp, header_addr));
54 if (object_container_sp)
55 return object_container_sp;
#define LLDB_SCOPED_TIMERF(...)
ModuleChild(const lldb::ModuleSP &module_sp)
Construct with owning module.
DataExtractor m_data
The data for this object file so things can be parsed lazily.
static lldb::ObjectContainerSP FindPlugin(const lldb::ModuleSP &module_sp, const lldb::ProcessSP &process_sp, lldb::addr_t header_addr, lldb::WritableDataBufferSP file_data_sp)
FileSpec m_file
The file that represents this container objects (which can be different from the module's file).
lldb::addr_t m_offset
The offset in bytes into the file, or the address in memory.
ObjectContainer(const lldb::ModuleSP &module_sp, const FileSpec *file, lldb::offset_t file_offset, lldb::offset_t length, lldb::DataBufferSP data_sp, lldb::offset_t data_offset)
Construct with a parent module, offset, and header data.
lldb::addr_t m_length
The size in bytes if known (can be zero).
static ObjectContainerCreateMemoryInstance GetObjectContainerCreateMemoryCallbackAtIndex(uint32_t idx)
A class that represents a running process on the host machine.
ObjectContainer *(* ObjectContainerCreateMemoryInstance)(const lldb::ModuleSP &module_sp, lldb::WritableDataBufferSP data_sp, const lldb::ProcessSP &process_sp, lldb::addr_t offset)
std::shared_ptr< lldb_private::ObjectContainer > ObjectContainerSP
std::shared_ptr< lldb_private::Process > ProcessSP
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
std::shared_ptr< lldb_private::Module > ModuleSP