22 lldb::DataBufferSP data_sp,
26 m_offset(file_offset), m_length(length) {
34 const ProcessSP &process_sp,
36 WritableDataBufferSP data_sp) {
41 "%s, process = %p, header_addr = "
43 module_sp->GetFileSpec().GetPath().c_str(),
44 static_cast<void *
>(process_sp.get()), header_addr);
46 ObjectContainerCreateMemoryInstance create_callback;
52 ObjectContainerSP object_container_sp(
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(...)
A mix in class that contains a pointer back to the module that owns the object which inherits from it...
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).
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.
static ObjectContainerCreateMemoryInstance GetObjectContainerCreateMemoryCallbackAtIndex(uint32_t idx)
A class that represents a running process on the host machine.