LLDB  mainline
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
lldb_private::ObjectFile Class Referenceabstract

A plug-in interface definition class for object file parsers. More...

#include "lldb/Symbol/ObjectFile.h"

Inheritance diagram for lldb_private::ObjectFile:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ObjectFile:
Collaboration graph
[legend]

Classes

struct  LoadableData
 

Public Types

enum  Type {
  eTypeInvalid = 0, eTypeCoreFile, eTypeExecutable, eTypeDebugInfo,
  eTypeDynamicLinker, eTypeObjectFile, eTypeSharedLibrary, eTypeStubLibrary,
  eTypeJIT, eTypeUnknown
}
 
enum  Strata {
  eStrataInvalid = 0, eStrataUnknown, eStrataUser, eStrataKernel,
  eStrataRawImage, eStrataJIT
}
 

Public Member Functions

 ObjectFile (const lldb::ModuleSP &module_sp, const FileSpec *file_spec_ptr, lldb::offset_t file_offset, lldb::offset_t length, const lldb::DataBufferSP &data_sp, lldb::offset_t data_offset)
 Construct with a parent module, offset, and header data. More...
 
 ObjectFile (const lldb::ModuleSP &module_sp, const lldb::ProcessSP &process_sp, lldb::addr_t header_addr, lldb::DataBufferSP &data_sp)
 
 ~ObjectFile () override
 Destructor. More...
 
virtual void Dump (Stream *s)=0
 Dump a description of this object to a Stream. More...
 
virtual uint32_t GetAddressByteSize () const =0
 Gets the address size in bytes for the current object file. More...
 
virtual AddressClass GetAddressClass (lldb::addr_t file_addr)
 Get the address type given a file address in an object file. More...
 
virtual uint32_t GetDependentModules (FileSpecList &file_list)=0
 Extract the dependent modules from an object file. More...
 
virtual bool IsExecutable () const =0
 Tells whether this object file is capable of being the main executable for a process. More...
 
virtual lldb::addr_t GetFileOffset () const
 Returns the offset into a file at which this object resides. More...
 
virtual lldb::addr_t GetByteSize () const
 
virtual FileSpecGetFileSpec ()
 Get accessor to the object file specification. More...
 
virtual const FileSpecGetFileSpec () const
 Get const accessor to the object file specification. More...
 
virtual ArchSpec GetArchitecture ()=0
 Get the ArchSpec for this object file. More...
 
virtual SectionListGetSectionList (bool update_module_section_list=true)
 Gets the section list for the currently selected architecture (and object for archives). More...
 
virtual void CreateSections (SectionList &unified_section_list)=0
 
virtual void SectionFileAddressesChanged ()
 Notify the ObjectFile that the file addresses in the Sections for this module have been changed. More...
 
virtual SymtabGetSymtab ()=0
 Gets the symbol table for the currently selected architecture (and object for archives). More...
 
virtual void RelocateSection (lldb_private::Section *section)
 Perform relocations on the section if necessary. More...
 
virtual SymbolResolveSymbolForAddress (const Address &so_addr, bool verify_unique)
 Appends a Symbol for the specified so_addr to the symbol table. More...
 
virtual bool IsStripped ()=0
 Detect if this object file has been stripped of local symbols. More...
 
virtual void ClearSymtab ()
 Frees the symbol table. More...
 
virtual UUID GetUUID ()=0
 Gets the UUID for this object file. More...
 
virtual lldb_private::FileSpecList GetDebugSymbolFilePaths ()
 Gets the symbol file spec list for this object file. More...
 
virtual lldb_private::FileSpecList GetReExportedLibraries ()
 Gets the file spec list of libraries re-exported by this object file. More...
 
virtual bool SetLoadAddress (Target &target, lldb::addr_t value, bool value_is_offset)
 Sets the load address for an entire module, assuming a rigid slide of sections, if possible in the implementation. More...
 
virtual lldb::ByteOrder GetByteOrder () const =0
 Gets whether endian swapping should occur when extracting data from this object file. More...
 
virtual bool ParseHeader ()=0
 Attempts to parse the object header. More...
 
virtual bool AllowAssemblyEmulationUnwindPlans ()
 Returns if the function bounds for symbols in this symbol file are likely accurate. More...
 
virtual lldb_private::Address GetImageInfoAddress (Target *target)
 Similar to Process::GetImageInfoAddress(). More...
 
virtual lldb_private::Address GetEntryPointAddress ()
 Returns the address of the Entry Point in this object file - if the object file doesn't have an entry point (because it is not an executable file) then an invalid address is returned. More...
 
virtual lldb_private::Address GetBaseAddress ()
 Returns base address of this object file. More...
 
virtual uint32_t GetNumThreadContexts ()
 
virtual std::string GetIdentifierString ()
 Some object files may have an identifier string embedded in them, e.g. More...
 
virtual bool GetCorefileMainBinaryInfo (lldb::addr_t &address, UUID &uuid)
 When the ObjectFile is a core file, lldb needs to locate the "binary" in the core file. More...
 
virtual lldb::RegisterContextSP GetThreadContextAtIndex (uint32_t idx, lldb_private::Thread &thread)
 
virtual Type CalculateType ()=0
 The object file should be able to calculate its type by looking at its file header and possibly the sections or other data in the object file. More...
 
virtual void SetType (Type type)
 In cases where the type can't be calculated (elf files), this routine allows someone to explicitly set it. More...
 
virtual Strata CalculateStrata ()=0
 The object file should be able to calculate the strata of the object file. More...
 
virtual llvm::VersionTuple GetVersion ()
 Get the object file version numbers. More...
 
virtual llvm::VersionTuple GetMinimumOSVersion ()
 Get the minimum OS version this object file can run on. More...
 
virtual uint32_t GetSDKVersion (uint32_t *versions, uint32_t num_versions)
 Get the SDK OS version this object file was built with. More...
 
virtual bool GetIsDynamicLinkEditor ()
 Return true if this file is a dynamic link editor (dyld) More...
 
Type GetType ()
 
Strata GetStrata ()
 
size_t GetData (lldb::offset_t offset, size_t length, DataExtractor &data) const
 
size_t CopyData (lldb::offset_t offset, size_t length, void *dst) const
 
virtual size_t ReadSectionData (Section *section, lldb::offset_t section_offset, void *dst, size_t dst_len)
 
virtual size_t ReadSectionData (Section *section, DataExtractor &section_data)
 
bool IsInMemory () const
 
virtual llvm::StringRef StripLinkerSymbolAnnotations (llvm::StringRef symbol_name) const
 
virtual std::vector< LoadableDataGetLoadableData (Target &target)
 Loads this objfile to memory. More...
 
- Public Member Functions inherited from lldb_private::PluginInterface
virtual ~PluginInterface ()
 
virtual ConstString GetPluginName ()=0
 
virtual uint32_t GetPluginVersion ()=0
 
- Public Member Functions inherited from lldb_private::ModuleChild
 ModuleChild (const lldb::ModuleSP &module_sp)
 Construct with owning module. More...
 
 ModuleChild (const ModuleChild &rhs)
 Copy constructor. More...
 
 ~ModuleChild ()
 Destructor. More...
 
const ModuleChildoperator= (const ModuleChild &rhs)
 Assignment operator. More...
 
lldb::ModuleSP GetModule () const
 Get const accessor for the module pointer. More...
 
void SetModule (const lldb::ModuleSP &module_sp)
 Set accessor for the module pointer. More...
 

Static Public Member Functions

static lldb::ObjectFileSP FindPlugin (const lldb::ModuleSP &module_sp, const FileSpec *file_spec, lldb::offset_t file_offset, lldb::offset_t file_size, lldb::DataBufferSP &data_sp, lldb::offset_t &data_offset)
 Find a ObjectFile plug-in that can parse file_spec. More...
 
static lldb::ObjectFileSP FindPlugin (const lldb::ModuleSP &module_sp, const lldb::ProcessSP &process_sp, lldb::addr_t header_addr, lldb::DataBufferSP &file_data_sp)
 Find a ObjectFile plug-in that can parse a file in memory. More...
 
static size_t GetModuleSpecifications (const FileSpec &file, lldb::offset_t file_offset, lldb::offset_t file_size, ModuleSpecList &specs)
 
static size_t GetModuleSpecifications (const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp, lldb::offset_t data_offset, lldb::offset_t file_offset, lldb::offset_t file_size, lldb_private::ModuleSpecList &specs)
 
static bool SplitArchivePathWithObject (const char *path_with_object, lldb_private::FileSpec &archive_file, lldb_private::ConstString &archive_object, bool must_exist)
 Split a path into a file path with object name. More...
 
static lldb::DataBufferSP ReadMemory (const lldb::ProcessSP &process_sp, lldb::addr_t addr, size_t byte_size)
 
static lldb::SymbolType GetSymbolTypeFromName (llvm::StringRef name, lldb::SymbolType symbol_type_hint=lldb::eSymbolTypeUndefined)
 

Protected Member Functions

bool SetModulesArchitecture (const ArchSpec &new_arch)
 Sets the architecture for a module. More...
 
ConstString GetNextSyntheticSymbolName ()
 

Static Protected Member Functions

static lldb::DataBufferSP MapFileData (const FileSpec &file, uint64_t Size, uint64_t Offset)
 

Protected Attributes

FileSpec m_file
 
Type m_type
 
Strata m_strata
 
lldb::addr_t m_file_offset
 The offset in bytes into the file, or the address in memory. More...
 
lldb::addr_t m_length
 The length of this object file if it is known (can be zero if length is unknown or can't be determined). More...
 
DataExtractor m_data
 The data for this object file so things can be parsed lazily. More...
 
lldb::ProcessWP m_process_wp
 
const lldb::addr_t m_memory_addr
 
std::unique_ptr< lldb_private::SectionListm_sections_up
 
std::unique_ptr< lldb_private::Symtabm_symtab_up
 
uint32_t m_synthetic_symbol_idx
 
- Protected Attributes inherited from lldb_private::ModuleChild
lldb::ModuleWP m_module_wp
 The Module that owns the object that inherits from this class. More...
 

Friends

class lldb_private::Module
 

Detailed Description

A plug-in interface definition class for object file parsers.

Object files belong to Module objects and know how to extract information from executable, shared library, and object (.o) files used by operating system runtime. The symbol table and section list for an object file.

Object files can be represented by the entire file, or by part of a file. An example of a partial file ObjectFile is one that contains information for one of multiple architectures in the same file.

Once an architecture is selected the object file information can be extracted from this abstract class.

Definition at line 58 of file ObjectFile.h.

Member Enumeration Documentation

◆ Strata

Enumerator
eStrataInvalid 
eStrataUnknown 
eStrataUser 
eStrataKernel 
eStrataRawImage 
eStrataJIT 

Definition at line 79 of file ObjectFile.h.

◆ Type

Enumerator
eTypeInvalid 
eTypeCoreFile 
eTypeExecutable 

A core file that has a checkpoint of a program's execution state.

eTypeDebugInfo 

A normal executable.

eTypeDynamicLinker 

An object file that contains only debug information.

eTypeObjectFile 

The platform's dynamic linker executable.

eTypeSharedLibrary 

An intermediate object file.

eTypeStubLibrary 

A shared library that can be used during execution.

eTypeJIT 

A library that can be linked against but not used for execution.

eTypeUnknown 

JIT code that has symbols, sections and possibly debug info.

Definition at line 64 of file ObjectFile.h.

Constructor & Destructor Documentation

◆ ObjectFile() [1/2]

ObjectFile::ObjectFile ( const lldb::ModuleSP &  module_sp,
const FileSpec file_spec_ptr,
lldb::offset_t  file_offset,
lldb::offset_t  length,
const lldb::DataBufferSP &  data_sp,
lldb::offset_t  data_offset 
)

Construct with a parent module, offset, and header data.

Object files belong to modules and a valid module must be supplied upon construction. The at an offset within a file for objects that contain more than one architecture or object.

Definition at line 258 of file ObjectFile.cpp.

References eStrataInvalid, eTypeInvalid, lldb_private::GetLogIfAllCategoriesSet(), lldb_private::FileSpec::GetPath(), LIBLLDB_LOG_OBJECT, m_data, m_file, m_file_offset, m_length, m_memory_addr, m_process_wp, m_sections_up, m_strata, m_symtab_up, m_synthetic_symbol_idx, m_type, lldb_private::ModuleChild::ModuleChild(), lldb_private::Log::Printf(), and lldb_private::DataExtractor::SetData().

◆ ObjectFile() [2/2]

lldb_private::ObjectFile::ObjectFile ( const lldb::ModuleSP &  module_sp,
const lldb::ProcessSP &  process_sp,
lldb::addr_t  header_addr,
lldb::DataBufferSP &  data_sp 
)

◆ ~ObjectFile()

ObjectFile::~ObjectFile ( )
override

Destructor.

The destructor is virtual since this class is designed to be inherited from by the plug-in instance.

Definition at line 301 of file ObjectFile.cpp.

References lldb_private::GetLogIfAllCategoriesSet(), LIBLLDB_LOG_OBJECT, and lldb_private::Log::Printf().

Member Function Documentation

◆ AllowAssemblyEmulationUnwindPlans()

virtual bool lldb_private::ObjectFile::AllowAssemblyEmulationUnwindPlans ( )
inlinevirtual

Returns if the function bounds for symbols in this symbol file are likely accurate.

The unwinder can emulate the instructions of functions to understand prologue/epilogue code sequences, where registers are spilled on the stack, etc. This feature relies on having the correct start addresses of all functions. If the ObjectFile has a way to tell that symbols have been stripped and there's no way to reconstruct start addresses (e.g. LC_FUNCTION_STARTS on Mach-O, or eh_frame unwind info), the ObjectFile should indicate that assembly emulation should not be used for this module.

It is uncommon for this to return false. An ObjectFile needs to be sure that symbol start addresses are unavailable before false is returned. If it is unclear, this should return true.

Returns
Returns true if assembly emulation should be used for this module. Only returns false if the ObjectFile is sure that symbol addresses are insufficient for accurate assembly emulation.

Reimplemented in ObjectFileMachO.

Definition at line 444 of file ObjectFile.h.

◆ CalculateStrata()

virtual Strata lldb_private::ObjectFile::CalculateStrata ( )
pure virtual

The object file should be able to calculate the strata of the object file.

Many object files for platforms might be for either user space debugging or for kernel debugging. If your object file subclass can figure this out, it will help with debugger plug-in selection when it comes time to debug.

Returns
The calculated object file strata for the current object file.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, ObjectFileJIT, and lldb_private::breakpad::ObjectFileBreakpad.

◆ CalculateType()

virtual Type lldb_private::ObjectFile::CalculateType ( )
pure virtual

The object file should be able to calculate its type by looking at its file header and possibly the sections or other data in the object file.

The file type is used in the debugger to help select the correct plug- ins for the job at hand, so this is important to get right. If any eTypeXXX definitions do not match up with the type of file you are loading, please feel free to add a new enumeration value.

Returns
The calculated file type for the current object file.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, ObjectFileJIT, and lldb_private::breakpad::ObjectFileBreakpad.

◆ ClearSymtab()

void ObjectFile::ClearSymtab ( )
virtual

Frees the symbol table.

This function should only be used when an object file is

Parameters
[in]flagseSymtabFromUnifiedSectionList: Whether to clear symbol table for unified module section list, or object file.
Returns
The symbol table for this object file.

Definition at line 592 of file ObjectFile.cpp.

References lldb_private::GetLogIfAllCategoriesSet(), lldb_private::ModuleChild::GetModule(), LIBLLDB_LOG_OBJECT, and m_symtab_up.

Referenced by lldb_private::SymbolVendor::ClearSymtab(), SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), and lldb_private::Module::SetSymbolFileFileSpec().

◆ CopyData()

size_t ObjectFile::CopyData ( lldb::offset_t  offset,
size_t  length,
void *  dst 
) const

◆ CreateSections()

virtual void lldb_private::ObjectFile::CreateSections ( SectionList unified_section_list)
pure virtual

◆ Dump()

virtual void lldb_private::ObjectFile::Dump ( Stream s)
pure virtual

Dump a description of this object to a Stream.

Dump a description of the current contents of this object to the supplied stream s. The dumping should include the section list if it has been parsed, and the symbol table if it has been parsed.

Parameters
[in]sThe stream to which to dump the object description.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by lldb_private::Module::Dump(), and DumpModuleObjfileHeaders().

◆ FindPlugin() [1/2]

static lldb::ObjectFileSP lldb_private::ObjectFile::FindPlugin ( const lldb::ModuleSP &  module_sp,
const FileSpec file_spec,
lldb::offset_t  file_offset,
lldb::offset_t  file_size,
lldb::DataBufferSP &  data_sp,
lldb::offset_t data_offset 
)
static

Find a ObjectFile plug-in that can parse file_spec.

Scans all loaded plug-in interfaces that implement versions of the ObjectFile plug-in interface and returns the first instance that can parse the file.

Parameters
[in]moduleThe parent module that owns this object file.
[in]file_specA file specification that indicates which file to use as the object file.
[in]file_offsetThe offset into the file at which to start parsing the object. This is for files that contain multiple architectures or objects.
[in]file_sizeThe size of the current object file if it can be determined or if it is known. This can be zero.
See also
ObjectFile::ParseHeader()

Referenced by SymbolFileDWARFDwp::Create(), lldb_private::Module::GetMemoryObjectFile(), and lldb_private::Module::GetObjectFile().

◆ FindPlugin() [2/2]

static lldb::ObjectFileSP lldb_private::ObjectFile::FindPlugin ( const lldb::ModuleSP &  module_sp,
const lldb::ProcessSP &  process_sp,
lldb::addr_t  header_addr,
lldb::DataBufferSP &  file_data_sp 
)
static

Find a ObjectFile plug-in that can parse a file in memory.

Scans all loaded plug-in interfaces that implement versions of the ObjectFile plug-in interface and returns the first instance that can parse the file.

Parameters
[in]moduleThe parent module that owns this object file.
[in]process_spA shared pointer to the process whose memory space contains an object file. This will be stored as a std::weak_ptr.
[in]header_addrThe address of the header for the object file in memory.

◆ GetAddressByteSize()

virtual uint32_t lldb_private::ObjectFile::GetAddressByteSize ( ) const
pure virtual

Gets the address size in bytes for the current object file.

Returns
The size of an address in bytes for the currently selected architecture (and object for archives). Returns zero if no architecture or object has been selected.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb::SBSection::GetSectionData(), and lldb_private::Value::GetValueAsData().

◆ GetAddressClass()

AddressClass ObjectFile::GetAddressClass ( lldb::addr_t  file_addr)
virtual

Get the address type given a file address in an object file.

Many binary file formats know what kinds This is primarily for ARM binaries, though it can be applied to any executable file format that supports different opcode types within the same binary. ARM binaries support having both ARM and Thumb within the same executable container. We need to be able to get

Returns
The size of an address in bytes for the currently selected architecture (and object for archives). Returns zero if no architecture or object has been selected.

Reimplemented in ObjectFileELF, ObjectFileMachO, and lldb_private::breakpad::ObjectFileBreakpad.

Definition at line 314 of file ObjectFile.cpp.

References lldb_private::eCode, lldb_private::eData, lldb_private::eDebug, lldb_private::eRuntime, lldb::eSectionTypeAbsoluteAddress, lldb::eSectionTypeARMexidx, lldb::eSectionTypeARMextab, lldb::eSectionTypeCode, lldb::eSectionTypeCompactUnwind, lldb::eSectionTypeContainer, lldb::eSectionTypeData, lldb::eSectionTypeData16, lldb::eSectionTypeData4, lldb::eSectionTypeData8, lldb::eSectionTypeDataCString, lldb::eSectionTypeDataCStringPointers, lldb::eSectionTypeDataObjCCFStrings, lldb::eSectionTypeDataObjCMessageRefs, lldb::eSectionTypeDataPointers, lldb::eSectionTypeDataSymbolAddress, lldb::eSectionTypeDebug, lldb::eSectionTypeDWARFAppleNames, lldb::eSectionTypeDWARFAppleNamespaces, lldb::eSectionTypeDWARFAppleObjC, lldb::eSectionTypeDWARFAppleTypes, lldb::eSectionTypeDWARFDebugAbbrev, lldb::eSectionTypeDWARFDebugAbbrevDwo, lldb::eSectionTypeDWARFDebugAddr, lldb::eSectionTypeDWARFDebugAranges, lldb::eSectionTypeDWARFDebugCuIndex, lldb::eSectionTypeDWARFDebugFrame, lldb::eSectionTypeDWARFDebugInfo, lldb::eSectionTypeDWARFDebugInfoDwo, lldb::eSectionTypeDWARFDebugLine, lldb::eSectionTypeDWARFDebugLineStr, lldb::eSectionTypeDWARFDebugLoc, lldb::eSectionTypeDWARFDebugLocLists, lldb::eSectionTypeDWARFDebugMacInfo, lldb::eSectionTypeDWARFDebugMacro, lldb::eSectionTypeDWARFDebugNames, lldb::eSectionTypeDWARFDebugPubNames, lldb::eSectionTypeDWARFDebugPubTypes, lldb::eSectionTypeDWARFDebugRanges, lldb::eSectionTypeDWARFDebugRngLists, lldb::eSectionTypeDWARFDebugStr, lldb::eSectionTypeDWARFDebugStrDwo, lldb::eSectionTypeDWARFDebugStrOffsets, lldb::eSectionTypeDWARFDebugStrOffsetsDwo, lldb::eSectionTypeDWARFDebugTypes, lldb::eSectionTypeDWARFGNUDebugAltLink, lldb::eSectionTypeEHFrame, lldb::eSectionTypeELFDynamicLinkInfo, lldb::eSectionTypeELFDynamicSymbols, lldb::eSectionTypeELFRelocationEntries, lldb::eSectionTypeELFSymbolTable, lldb::eSectionTypeGoSymtab, lldb::eSectionTypeInvalid, lldb::eSectionTypeOther, lldb::eSectionTypeZeroFill, lldb::eSymbolTypeAbsolute, lldb::eSymbolTypeAdditional, lldb::eSymbolTypeAny, lldb::eSymbolTypeBlock, lldb::eSymbolTypeCode, lldb::eSymbolTypeCommonBlock, lldb::eSymbolTypeCompiler, lldb::eSymbolTypeData, lldb::eSymbolTypeException, lldb::eSymbolTypeHeaderFile, lldb::eSymbolTypeInstrumentation, lldb::eSymbolTypeLineEntry, lldb::eSymbolTypeLineHeader, lldb::eSymbolTypeLocal, lldb::eSymbolTypeObjCClass, lldb::eSymbolTypeObjCIVar, lldb::eSymbolTypeObjCMetaClass, lldb::eSymbolTypeObjectFile, lldb::eSymbolTypeParam, lldb::eSymbolTypeReExported, lldb::eSymbolTypeResolver, lldb::eSymbolTypeRuntime, lldb::eSymbolTypeScopeBegin, lldb::eSymbolTypeScopeEnd, lldb::eSymbolTypeSourceFile, lldb::eSymbolTypeTrampoline, lldb::eSymbolTypeUndefined, lldb::eSymbolTypeVariable, lldb::eSymbolTypeVariableType, lldb_private::eUnknown, lldb_private::Symtab::FindSymbolContainingFileAddress(), lldb_private::Symbol::GetAddressRef(), lldb_private::Address::GetSection(), GetSymtab(), lldb_private::Symbol::GetType(), and lldb_private::Symbol::ValueIsAddress().

Referenced by ObjectFileELF::GetAddressClass(), and lldb_private::Address::GetAddressClass().

◆ GetArchitecture()

virtual ArchSpec lldb_private::ObjectFile::GetArchitecture ( )
pure virtual

◆ GetBaseAddress()

virtual lldb_private::Address lldb_private::ObjectFile::GetBaseAddress ( )
inlinevirtual

Returns base address of this object file.

This also sometimes referred to as the "preferred load address" or the "image base address". Addresses within object files are often expressed relative to this base. If this address corresponds to a specific section (usually the first byte of the first section) then the returned address will have this section set. Otherwise, the address will just have the offset member filled in, indicating that this represents a file address.

Reimplemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, and ObjectFileJIT.

Definition at line 478 of file ObjectFile.h.

Referenced by lldb::SBModule::GetObjectFileHeaderAddress(), lldb_private::CompactUnwindInfo::GetUnwindPlan(), SymbolFilePDB::InitializeObject(), lldb_private::npdb::SymbolFileNativePDB::InitializeObject(), lldb_private::CompactUnwindInfo::IsValid(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), DynamicLoaderDarwinKernel::LoadKernelModuleIfNeeded(), and DynamicLoaderDarwinKernel::SearchForKernelAtSameLoadAddr().

◆ GetByteOrder()

virtual lldb::ByteOrder lldb_private::ObjectFile::GetByteOrder ( ) const
pure virtual

Gets whether endian swapping should occur when extracting data from this object file.

Returns
Returns true if endian swapping is needed, false otherwise.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by DWARFUnit::GetByteOrder(), lldb::SBSection::GetSectionData(), lldb_private::Value::GetValueAsData(), and DWARFASTParserClang::ParseChildMembers().

◆ GetByteSize()

virtual lldb::addr_t lldb_private::ObjectFile::GetByteSize ( ) const
inlinevirtual

◆ GetCorefileMainBinaryInfo()

virtual bool lldb_private::ObjectFile::GetCorefileMainBinaryInfo ( lldb::addr_t address,
UUID uuid 
)
inlinevirtual

When the ObjectFile is a core file, lldb needs to locate the "binary" in the core file.

lldb can iterate over the pages looking for a valid binary, but some core files may have metadata describing where the main binary is exactly which removes ambiguity when there are multiple binaries present in the captured memory pages.

Parameters
[out]addressIf the address of the binary is specified, this will be set. This is an address is the virtual address space of the core file memory segments; it is not an offset into the object file. If no address is available, will be set to LLDB_INVALID_ADDRESS.
[out]uuidIf the uuid of the binary is specified, this will be set. If no UUID is available, will be cleared.
Returns
Returns true if either address or uuid has been set.

Reimplemented in ObjectFileMachO.

Definition at line 513 of file ObjectFile.h.

References lldb_private::UUID::Clear(), and LLDB_INVALID_ADDRESS.

Referenced by ProcessMachCore::DoLoadCore().

◆ GetData()

size_t ObjectFile::GetData ( lldb::offset_t  offset,
size_t  length,
DataExtractor data 
) const

Definition at line 474 of file ObjectFile.cpp.

References m_data, and lldb_private::DataExtractor::SetData().

Referenced by ReadSectionData().

◆ GetDebugSymbolFilePaths()

virtual lldb_private::FileSpecList lldb_private::ObjectFile::GetDebugSymbolFilePaths ( )
inlinevirtual

Gets the symbol file spec list for this object file.

If the object file format contains a debug symbol file link, the values will be returned in the FileSpecList.

Returns
Returns filespeclist.

Reimplemented in ObjectFileELF, and lldb_private::breakpad::ObjectFileBreakpad.

Definition at line 376 of file ObjectFile.h.

Referenced by SymbolVendorELF::CreateInstance().

◆ GetDependentModules()

virtual uint32_t lldb_private::ObjectFile::GetDependentModules ( FileSpecList &  file_list)
pure virtual

Extract the dependent modules from an object file.

If an object file has information about which other images it depends on (such as shared libraries), this function will provide the list. Since many executables or shared libraries may depend on the same files, FileSpecList::AppendIfUnique(const FileSpec &) should be used to make sure any files that are added are not already in the list.

Parameters
[out]file_listA list of file specification objects that gets dependent files appended to.
Returns
The number of new files that were appended to file_list.
See also
FileSpecList::AppendIfUnique(const FileSpec &)

Implemented in lldb_private::breakpad::ObjectFileBreakpad.

Referenced by lldb_private::Target::SetExecutableModule().

◆ GetEntryPointAddress()

virtual lldb_private::Address lldb_private::ObjectFile::GetEntryPointAddress ( )
inlinevirtual

Returns the address of the Entry Point in this object file - if the object file doesn't have an entry point (because it is not an executable file) then an invalid address is returned.

Returns
Returns the entry address for this module.

Reimplemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, and ObjectFileJIT.

Definition at line 468 of file ObjectFile.h.

Referenced by DynamicLoaderPOSIXDYLD::ComputeLoadOffset(), lldb_private::ThreadPlanCallFunction::ConstructorSetup(), CommandObjectTargetModulesLoad::DoExecute(), and lldb::SBModule::GetObjectFileEntryPointAddress().

◆ GetFileOffset()

virtual lldb::addr_t lldb_private::ObjectFile::GetFileOffset ( ) const
inlinevirtual

Returns the offset into a file at which this object resides.

Some files contain many object files, and this function allows access to an object's offset within the file.

Returns
The offset in bytes into the file. Defaults to zero for simple object files that a represented by an entire file.

Definition at line 260 of file ObjectFile.h.

Referenced by lldb_private::DynamicLoaderDarwin::AddModulesUsingImageInfos(), lldb::SBSection::GetFileOffset(), and lldb::SBSection::GetSectionData().

◆ GetFileSpec() [1/2]

virtual FileSpec& lldb_private::ObjectFile::GetFileSpec ( )
inlinevirtual

◆ GetFileSpec() [2/2]

virtual const FileSpec& lldb_private::ObjectFile::GetFileSpec ( ) const
inlinevirtual

Get const accessor to the object file specification.

Returns
The const file specification object pointer if there is one, or NULL if this object is only from memory.

Definition at line 276 of file ObjectFile.h.

References lldb_private::ObjectFileJITDelegate::GetArchitecture().

◆ GetIdentifierString()

virtual std::string lldb_private::ObjectFile::GetIdentifierString ( )
inlinevirtual

Some object files may have an identifier string embedded in them, e.g.

in a Mach-O core file using the LC_IDENT load command (which is obsolete, but can still be found in some old files)

Returns
Returns the identifier string if one exists, else an empty string.

Reimplemented in ObjectFileMachO.

Definition at line 491 of file ObjectFile.h.

Referenced by ProcessMachCore::DoLoadCore().

◆ GetImageInfoAddress()

virtual lldb_private::Address lldb_private::ObjectFile::GetImageInfoAddress ( Target target)
inlinevirtual

Similar to Process::GetImageInfoAddress().

Some platforms embed auxiliary structures useful to debuggers in the address space of the inferior process. This method returns the address of such a structure if the information can be resolved via entries in the object file. ELF, for example, provides a means to hook into the runtime linker so that a debugger may monitor the loading and unloading of shared libraries.

Returns
The address of any auxiliary tables, or an invalid address if this object file format does not support or contain such information.

Reimplemented in ObjectFileELF.

Definition at line 458 of file ObjectFile.h.

Referenced by DynamicLoaderPOSIXDYLD::DidAttach(), lldb_private::ProcessWindows::GetImageInfoAddress(), ProcessElfCore::GetImageInfoAddress(), ProcessFreeBSD::GetImageInfoAddress(), and ResolveRendezvousAddress().

◆ GetIsDynamicLinkEditor()

virtual bool lldb_private::ObjectFile::GetIsDynamicLinkEditor ( )
inlinevirtual

Return true if this file is a dynamic link editor (dyld)

Often times dyld has symbols that mirror symbols in libc and other shared libraries (like "malloc" and "free") and the user does not want to stop in these shared libraries by default. We can ask the ObjectFile if it is such a file and should be avoided for things like settings breakpoints and doing function lookups for expressions.

Reimplemented in ObjectFileMachO.

Definition at line 598 of file ObjectFile.h.

Referenced by lldb_private::Module::GetIsDynamicLinkEditor().

◆ GetLoadableData()

std::vector< ObjectFile::LoadableData > ObjectFile::GetLoadableData ( Target target)
virtual

Loads this objfile to memory.

Loads the bits needed to create an executable image to the memory. It is useful with bare-metal targets where target does not have the ability to start a process itself.

Parameters
[in]targetTarget where to load.
Returns

Reimplemented in ObjectFileELF.

Definition at line 650 of file ObjectFile.cpp.

References lldb_private::ObjectFile::LoadableData::Contents, lldb_private::ObjectFile::LoadableData::Dest, lldb_private::DataExtractor::GetByteSize(), lldb_private::DataExtractor::GetDataStart(), lldb_private::SectionList::GetNumSections(), lldb_private::SectionList::GetSectionAtIndex(), GetSectionList(), lldb_private::SectionLoadList::GetSectionLoadAddress(), lldb_private::Target::GetSectionLoadList(), and LLDB_INVALID_ADDRESS.

Referenced by CommandObjectTargetModulesLoad::DoExecute().

◆ GetMinimumOSVersion()

virtual llvm::VersionTuple lldb_private::ObjectFile::GetMinimumOSVersion ( )
inlinevirtual

Get the minimum OS version this object file can run on.

Some object files have information that specifies the minimum OS version that they can be used on.

Returns
This function returns extracted version numbers as a llvm::VersionTuple. In case of error an empty VersionTuple is returned.

Reimplemented in ObjectFileMachO.

Definition at line 575 of file ObjectFile.h.

Referenced by PlatformDarwin::AddClangModuleCompilationOptionsForSDKType().

◆ GetModuleSpecifications() [1/2]

size_t ObjectFile::GetModuleSpecifications ( const FileSpec file,
lldb::offset_t  file_offset,
lldb::offset_t  file_size,
ModuleSpecList specs 
)
static

◆ GetModuleSpecifications() [2/2]

size_t ObjectFile::GetModuleSpecifications ( const lldb_private::FileSpec file,
lldb::DataBufferSP &  data_sp,
lldb::offset_t  data_offset,
lldb::offset_t  file_offset,
lldb::offset_t  file_size,
lldb_private::ModuleSpecList specs 
)
static

Definition at line 229 of file ObjectFile.cpp.

References lldb_private::ModuleSpecList::GetSize().

◆ GetNextSyntheticSymbolName()

ConstString ObjectFile::GetNextSyntheticSymbolName ( )
protected

◆ GetNumThreadContexts()

virtual uint32_t lldb_private::ObjectFile::GetNumThreadContexts ( )
inlinevirtual

Reimplemented in ObjectFileMachO.

Definition at line 482 of file ObjectFile.h.

Referenced by ProcessMachCore::DoLoadCore(), and ProcessMachCore::UpdateThreadList().

◆ GetReExportedLibraries()

virtual lldb_private::FileSpecList lldb_private::ObjectFile::GetReExportedLibraries ( )
inlinevirtual

Gets the file spec list of libraries re-exported by this object file.

If the object file format has the notion of one library re-exporting the symbols from another, the re-exported libraries will be returned in the FileSpecList.

Returns
Returns filespeclist.

Reimplemented in ObjectFileMachO.

Definition at line 388 of file ObjectFile.h.

◆ GetSDKVersion()

virtual uint32_t lldb_private::ObjectFile::GetSDKVersion ( uint32_t versions,
uint32_t  num_versions 
)
inlinevirtual

Get the SDK OS version this object file was built with.

The versions arguments and returns values are the same as the GetMinimumOSVersion()

Reimplemented in ObjectFileMachO.

Definition at line 583 of file ObjectFile.h.

References UINT32_MAX.

Referenced by PlatformMacOSX::GetSDKDirectory().

◆ GetSectionList()

SectionList * ObjectFile::GetSectionList ( bool  update_module_section_list = true)
virtual

Gets the section list for the currently selected architecture (and object for archives).

Section list parsing can be deferred by ObjectFile instances until this accessor is called the first time.

Returns
The list of sections contained in this object file.

Definition at line 605 of file ObjectFile.cpp.

References CreateSections(), lldb_private::ModuleChild::GetModule(), and m_sections_up.

Referenced by lldb_private::DynamicLoaderDarwin::AddModulesUsingImageInfos(), SymbolFilePDB::AddSymbols(), SymbolFileDWARF::CalculateAbilities(), ObjectFileMachO::CalculateStrata(), lldb::SBTarget::ClearModuleLoadAddress(), DynamicLoaderStatic::DidLaunch(), ProcessMachCore::DoLoadCore(), ObjectFileJIT::Dump(), ObjectFileMachO::Dump(), lldb_private::SymbolFile::FindPlugin(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), ObjectFileMachO::GetBaseAddress(), DynamicLoaderHexagonDYLD::GetEntryPoint(), ObjectFileMachO::GetEntryPointAddress(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), GetLoadableData(), ObjectFileMachO::GetMachHeaderSection(), lldb_private::DynamicLoader::GetSectionListFromModule(), lldb_private::CompactUnwindInfo::GetUnwindPlan(), lldb_private::Value::GetValueAsData(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::CompactUnwindInfo::IsValid(), lldb_private::breakpad::SymbolFileBreakpad::LineIterator::LineIterator(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), SymbolFileDWARFDwo::LoadSectionData(), lldb_private::breakpad::SymbolFileBreakpad::LineIterator::operator++(), ObjectFileMachO::ParseSymtab(), ObjectFileJIT::SetLoadAddress(), ObjectFileMachO::SetLoadAddress(), translate_to_eh_frame_regnum_i386(), translate_to_eh_frame_regnum_x86_64(), lldb_private::DynamicLoaderDarwin::UnloadModuleSections(), lldb_private::DynamicLoaderDarwin::UpdateImageLoadAddress(), and updateSectionLoadAddress().

◆ GetStrata()

Strata lldb_private::ObjectFile::GetStrata ( )
inline

◆ GetSymbolTypeFromName()

lldb::SymbolType ObjectFile::GetSymbolTypeFromName ( llvm::StringRef  name,
lldb::SymbolType  symbol_type_hint = lldb::eSymbolTypeUndefined 
)
static

◆ GetSymtab()

virtual Symtab* lldb_private::ObjectFile::GetSymtab ( )
pure virtual

◆ GetThreadContextAtIndex()

virtual lldb::RegisterContextSP lldb_private::ObjectFile::GetThreadContextAtIndex ( uint32_t  idx,
lldb_private::Thread thread 
)
inlinevirtual

Reimplemented in ObjectFileMachO.

Definition at line 520 of file ObjectFile.h.

Referenced by ThreadMachCore::CreateRegisterContextForFrame().

◆ GetType()

Type lldb_private::ObjectFile::GetType ( )
inline

◆ GetUUID()

virtual UUID lldb_private::ObjectFile::GetUUID ( )
pure virtual

Gets the UUID for this object file.

If the object file format contains a UUID, the value should be returned. Else ObjectFile instances should return the MD5 checksum of all of the bytes for the object file (or memory for memory based object files).

Returns
The object file's UUID. In case of an error, an empty UUID is returned.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by SymbolVendorELF::CreateInstance(), lldb_private::Module::GetUUID(), and UUIDsMatch().

◆ GetVersion()

virtual llvm::VersionTuple lldb_private::ObjectFile::GetVersion ( )
inlinevirtual

Get the object file version numbers.

Many object files have a set of version numbers that describe the version of the executable or shared library. Typically there are major, minor and build, but there may be more. This function will extract the versions from object files if they are available.

Returns
This function returns extracted version numbers as a llvm::VersionTuple. In case of error an empty VersionTuple is returned.

Reimplemented in ObjectFileMachO.

Definition at line 564 of file ObjectFile.h.

◆ IsExecutable()

virtual bool lldb_private::ObjectFile::IsExecutable ( ) const
pure virtual

Tells whether this object file is capable of being the main executable for a process.

Returns
true if it is, false otherwise.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by lldb_private::Module::IsExecutable().

◆ IsInMemory()

bool lldb_private::ObjectFile::IsInMemory ( ) const
inline

Definition at line 640 of file ObjectFile.h.

References LLDB_INVALID_ADDRESS.

Referenced by ReadSectionData().

◆ IsStripped()

virtual bool lldb_private::ObjectFile::IsStripped ( )
pure virtual

Detect if this object file has been stripped of local symbols.

Detect if this object file has been stripped of local symbols.

Returns
Return true if the object file has been stripped of local symbols.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

Referenced by SymbolFileDWARFDebugMap::InitOSO(), and lldb_private::Module::ResolveSymbolContextForAddress().

◆ MapFileData()

DataBufferSP ObjectFile::MapFileData ( const FileSpec file,
uint64_t  Size,
uint64_t  Offset 
)
staticprotected

◆ ParseHeader()

virtual bool lldb_private::ObjectFile::ParseHeader ( )
pure virtual

Attempts to parse the object header.

This function is used as a test to see if a given plug-in instance can parse the header data already contained in ObjectFile::m_data. If an object file parser does not recognize that magic bytes in a header, false should be returned and the next plug-in can attempt to parse an object file.

Returns
Returns true if the header was parsed successfully, false otherwise.

Implemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, lldb_private::breakpad::ObjectFileBreakpad, and ObjectFileJIT.

◆ ReadMemory()

DataBufferSP ObjectFile::ReadMemory ( const lldb::ProcessSP &  process_sp,
lldb::addr_t  addr,
size_t  byte_size 
)
static

◆ ReadSectionData() [1/2]

size_t ObjectFile::ReadSectionData ( Section section,
lldb::offset_t  section_offset,
void *  dst,
size_t  dst_len 
)
virtual

◆ ReadSectionData() [2/2]

size_t ObjectFile::ReadSectionData ( Section section,
DataExtractor section_data 
)
virtual

◆ RelocateSection()

void ObjectFile::RelocateSection ( lldb_private::Section section)
virtual

Perform relocations on the section if necessary.

Reimplemented in ObjectFileELF.

Definition at line 676 of file ObjectFile.cpp.

Referenced by ReadSectionData().

◆ ResolveSymbolForAddress()

virtual Symbol* lldb_private::ObjectFile::ResolveSymbolForAddress ( const Address so_addr,
bool  verify_unique 
)
inlinevirtual

Appends a Symbol for the specified so_addr to the symbol table.

If verify_unique is false, the symbol table is not searched to determine if a Symbol found at this address has already been added to the symbol table. When verify_unique is true, this method resolves the Symbol as the first match in the SymbolTable and appends a Symbol only if required/found.

Returns
The resolved symbol or nullptr. Returns nullptr if a a Symbol could not be found for the specified so_addr.

Definition at line 326 of file ObjectFile.h.

◆ SectionFileAddressesChanged()

virtual void lldb_private::ObjectFile::SectionFileAddressesChanged ( )
inlinevirtual

Notify the ObjectFile that the file addresses in the Sections for this module have been changed.

Definition at line 299 of file ObjectFile.h.

Referenced by lldb_private::SymbolVendor::SectionFileAddressesChanged(), and lldb_private::Module::SectionFileAddressesChanged().

◆ SetLoadAddress()

virtual bool lldb_private::ObjectFile::SetLoadAddress ( Target target,
lldb::addr_t  value,
bool  value_is_offset 
)
inlinevirtual

Sets the load address for an entire module, assuming a rigid slide of sections, if possible in the implementation.

Returns
Returns true iff any section's load address changed.

Reimplemented in ObjectFileELF, ObjectFilePECOFF, ObjectFileMachO, and ObjectFileJIT.

Definition at line 397 of file ObjectFile.h.

References lldb_private::ObjectFileJITDelegate::GetByteOrder().

Referenced by lldb_private::Module::SetLoadAddress().

◆ SetModulesArchitecture()

bool ObjectFile::SetModulesArchitecture ( const ArchSpec new_arch)
protected

Sets the architecture for a module.

At present the architecture can only be set if it is invalid. It is not allowed to switch from one concrete architecture to another.

Parameters
[in]new_archThe architecture this module will be set to.
Returns
Returns true if the architecture was changed, false otherwise.

Definition at line 307 of file ObjectFile.cpp.

References lldb_private::ModuleChild::GetModule().

Referenced by ObjectFileMachO::ParseHeader().

◆ SetType()

virtual void lldb_private::ObjectFile::SetType ( Type  type)
inlinevirtual

In cases where the type can't be calculated (elf files), this routine allows someone to explicitly set it.

As an example, SymbolVendorELF uses this routine to set eTypeDebugInfo when loading debug link files.

Definition at line 538 of file ObjectFile.h.

Referenced by ObjectFileMachO::ParseSymtab().

◆ SplitArchivePathWithObject()

bool ObjectFile::SplitArchivePathWithObject ( const char *  path_with_object,
lldb_private::FileSpec archive_file,
lldb_private::ConstString archive_object,
bool  must_exist 
)
static

Split a path into a file path with object name.

For paths like "/tmp/foo.a(bar.o)" we often need to split a path up into the actual path name and into the object name so we can make a valid object file from it.

Parameters
[in]path_with_objectA path that might contain an archive path with a .o file specified in parens in the basename of the path.
[out]archive_fileIf true is returned, file_spec will be filled in with the path to the archive.
[out]archive_objectIf true is returned, object will be filled in with the name of the object inside the archive.
Returns
true if the path matches the pattern of archive + object and archive_file and archive_object are modified, false otherwise and archive_file and archive_object are guaranteed to be remain unchanged.

Definition at line 572 of file ObjectFile.cpp.

References lldb_private::RegularExpression::Execute(), lldb_private::FileSystem::Exists(), lldb_private::RegularExpression::Match::GetMatchAtIndex(), lldb_private::FileSystem::Instance(), lldb_private::ConstString::SetCString(), and lldb_private::FileSpec::SetFile().

◆ StripLinkerSymbolAnnotations()

virtual llvm::StringRef lldb_private::ObjectFile::StripLinkerSymbolAnnotations ( llvm::StringRef  symbol_name) const
inlinevirtual

Reimplemented in ObjectFileELF.

Definition at line 644 of file ObjectFile.h.

References lldb::eSymbolTypeUndefined.

Referenced by lldb_private::Symtab::InitNameIndexes().

Friends And Related Function Documentation

◆ lldb_private::Module

friend class lldb_private::Module
friend

Definition at line 61 of file ObjectFile.h.

Member Data Documentation

◆ m_data

DataExtractor lldb_private::ObjectFile::m_data
protected

◆ m_file

FileSpec lldb_private::ObjectFile::m_file
protected

◆ m_file_offset

lldb::addr_t lldb_private::ObjectFile::m_file_offset
protected

The offset in bytes into the file, or the address in memory.

Definition at line 669 of file ObjectFile.h.

Referenced by ObjectFile(), and ObjectFileMachO::ParseHeader().

◆ m_length

lldb::addr_t lldb_private::ObjectFile::m_length
protected

The length of this object file if it is known (can be zero if length is unknown or can't be determined).

Definition at line 671 of file ObjectFile.h.

Referenced by ObjectFile(), and ObjectFileMachO::SanitizeSegmentCommand().

◆ m_memory_addr

const lldb::addr_t lldb_private::ObjectFile::m_memory_addr
protected

◆ m_process_wp

lldb::ProcessWP lldb_private::ObjectFile::m_process_wp
protected

◆ m_sections_up

std::unique_ptr<lldb_private::SectionList> lldb_private::ObjectFile::m_sections_up
protected

◆ m_strata

Strata lldb_private::ObjectFile::m_strata
protected

Definition at line 668 of file ObjectFile.h.

Referenced by ObjectFileMachO::CalculateType(), and ObjectFile().

◆ m_symtab_up

std::unique_ptr<lldb_private::Symtab> lldb_private::ObjectFile::m_symtab_up
protected

◆ m_synthetic_symbol_idx

uint32_t lldb_private::ObjectFile::m_synthetic_symbol_idx
protected

Definition at line 680 of file ObjectFile.h.

Referenced by GetNextSyntheticSymbolName(), and ObjectFile().

◆ m_type

Type lldb_private::ObjectFile::m_type
protected

The documentation for this class was generated from the following files: