Lines Matching refs:m_header
600 ::memset (&m_header, 0, sizeof(m_header)); in ObjectFileMachO()
615 ::memset (&m_header, 0, sizeof(m_header)); in ObjectFileMachO()
690 m_header.magic = m_data.GetU32(&offset); in ParseHeader()
691 switch (m_header.magic) in ParseHeader()
723 m_data.GetU32(&offset, &m_header.cputype, 6); in ParseHeader()
725 ArchSpec mach_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in ParseHeader()
734 … const size_t header_and_lc_size = m_header.sizeofcmds + MachHeaderSizeFromMagic(m_header.magic); in ParseHeader()
758 memset(&m_header, 0, sizeof(struct mach_header)); in ParseHeader()
774 return m_header.filetype == HeaderFileTypeExecutable; in IsExecutable()
802 if (m_header.cputype == llvm::MachO::CPUTypeARM) in GetAddressClass()
860 if (m_header.cputype == llvm::MachO::CPUTypeARM) in GetAddressClass()
924 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in IsStripped()
925 for (uint32_t i=0; i<m_header.ncmds; ++i) in IsStripped()
958 const bool is_dsym = (m_header.filetype == HeaderFileTypeDSYM); in CreateSections()
961 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in CreateSections()
970 for (i=0; i<m_header.ncmds; ++i) in CreateSections()
992 offset = MachHeaderSizeFromMagic(m_header.magic); in CreateSections()
995 for (i=0; i<m_header.ncmds; ++i) in CreateSections()
1471 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in ParseSymtab()
1476 for (i=0; i<m_header.ncmds; ++i) in ParseSymtab()
1573 if (m_header.flags & 0x80000000u) in ParseSymtab()
1705 const bool is_arm = (m_header.cputype == llvm::MachO::CPUTypeARM); in ParseSymtab()
1798 if (m_header.flags & 0x80000000u) in ParseSymtab()
1805 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in ParseSymtab()
3666 if (m_header.magic == HeaderMagic64 || m_header.magic == HeaderMagic64Swapped) in Dump()
3671 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in Dump()
3735 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in GetUUID()
3736 return GetUUID (m_header, m_data, offset, *uuid); in GetUUID()
3751 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in GetDependentModules()
3754 for (i=0; i<m_header.ncmds; ++i) in GetDependentModules()
3824 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in GetEntryPointAddress()
3829 for (i=0; i<m_header.ncmds; ++i) in GetEntryPointAddress()
3850 switch (m_header.cputype) in GetEntryPointAddress()
3968 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in GetNumThreadContexts()
3971 for (uint32_t i=0; i<m_header.ncmds; ++i) in GetNumThreadContexts()
4010 switch (m_header.cputype) in GetThreadContextAtIndex()
4033 switch (m_header.filetype) in CalculateType()
4072 switch (m_header.filetype) in CalculateStrata()
4094 if (m_header.flags & HeaderFlagBitIsDynamicLinkObject) in CalculateStrata()
4134 lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); in GetVersion()
4138 for (i=0; i<m_header.ncmds; ++i) in GetVersion()
4188 arch.SetArchitecture (eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in GetArchitecture()
4193 if (m_header.filetype == HeaderFileTypePreloadedExecutable) in GetArchitecture()