Lines Matching refs:MachOSection
33 class MachOSection;
35 typedef MachOSection DebugSection;
222 class MachOSection : public DebugSectionBase<MachOSectionHeader> {
232 MachOSection(const char* name, const char* segment, uint32_t align,
241 virtual ~MachOSection() { }
358 class MachOTextSection : public MachOSection {
361 : MachOSection("__text", "__TEXT", align,
362 MachOSection::S_REGULAR |
363 MachOSection::S_ATTR_SOME_INSTRUCTIONS |
364 MachOSection::S_ATTR_PURE_INSTRUCTIONS),
370 MachOSection::PopulateHeader(header);
479 size_t AddSection(MachOSection* section) {
576 cmd->cmdsize = sizeof(MachOSegmentCommand) + sizeof(MachOSection::Header) *
586 Writer::Slot<MachOSection::Header> headers =
587 w->CreateSlotsHere<MachOSection::Header>(
593 for (MachOSection* section : sections_) {
601 ZoneChunkList<MachOSection*> sections_;
1069 : MachOSection("__debug_info",
1072 MachOSection::S_REGULAR | MachOSection::S_ATTR_DEBUG),
1253 : MachOSection("__debug_abbrev",
1256 MachOSection::S_REGULAR | MachOSection::S_ATTR_DEBUG),
1414 : MachOSection("__debug_line",
1417 MachOSection::S_REGULAR | MachOSection::S_ATTR_DEBUG),
1660 : MachOSection("__eh_frame", "__TEXT", sizeof(uintptr_t),
1661 MachOSection::S_REGULAR),