9#ifndef LLDB_SOURCE_PLUGINS_OBJECTFILE_PLACEHOLDER_OBJECTFILEPLACEHOLDER_H
10#define LLDB_SOURCE_PLUGINS_OBJECTFILE_PLACEHOLDER_OBJECTFILEPLACEHOLDER_H
49 return m_arch.GetByteOrder();
53 return m_arch.GetAddressByteSize();
61 bool value_is_offset)
override;
bool SetLoadAddress(lldb_private::Target &target, lldb::addr_t value, bool value_is_offset) override
Sets the load address for an entire module, assuming a rigid slide of sections, if possible in the im...
Type CalculateType() override
The object file should be able to calculate its type by looking at its file header and possibly the s...
Strata CalculateStrata() override
The object file should be able to calculate the strata of the object file.
lldb_private::UUID GetUUID() override
Gets the UUID for this object file.
lldb_private::Address GetBaseAddress() override
Returns base address of this object file.
uint32_t GetAddressByteSize() const override
Gets the address size in bytes for the current object file.
lldb::addr_t GetBaseImageAddress() const
lldb_private::UUID m_uuid
lldb::ByteOrder GetByteOrder() const override
Gets whether endian swapping should occur when extracting data from this object file.
bool IsExecutable() const override
Tells whether this object file is capable of being the main executable for a process.
void CreateSections(lldb_private::SectionList &unified_section_list) override
lldb_private::ArchSpec GetArchitecture() override
Get the ArchSpec for this object file.
lldb_private::ArchSpec m_arch
bool IsStripped() override
Detect if this object file has been stripped of local symbols.
static llvm::StringRef GetPluginNameStatic()
ObjectFilePlaceholder(const lldb::ModuleSP &module_sp, const lldb_private::ModuleSpec &module_spec, lldb::addr_t base, lldb::addr_t size)
llvm::StringRef GetPluginName() override
bool ParseHeader() override
Attempts to parse the object header.
void ParseSymtab(lldb_private::Symtab &symtab) override
Parse the symbol table into the provides symbol table object.
void Dump(lldb_private::Stream *s) override
Dump a description of this object to a Stream.
uint32_t GetDependentModules(lldb_private::FileSpecList &file_list) override
Extract the dependent modules from an object file.
A section + offset based address class.
An architecture specification class.
A plug-in interface definition class for object file parsers.
A stream class that can stream formatted output to a file.
Represents UUID's of various sizes.
ByteOrder
Byte ordering definitions.
std::shared_ptr< lldb_private::Module > ModuleSP