Home
last modified time | relevance | path

Searched refs:SectionType (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCSectionMachO.cpp110 MachO::SectionType SectionType = getType(); in PrintSwitchToSection() local
111 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
114 if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) { in PrintSwitchToSection()
116 OS << SectionTypeDescriptors[SectionType].AssemblerName; in PrintSwitchToSection()
193 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
212 if (SectionType.empty()) in ParseSectionSpecifier()
219 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp30 template <typename SectionType>
31 Section constructSectionCommon(SectionType Sec, uint32_t Index) { in constructSectionCommon()
49 template <typename SectionType>
50 Section constructSection(SectionType Sec, uint32_t Index);
62 template <typename SectionType, typename SegmentType>
68 const SectionType *Curr = in extractSections()
69 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections()
73 SectionType Sec; in extractSections()
74 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections()
H A DObject.h69 MachO::SectionType getType() const { in getType()
70 return static_cast<MachO::SectionType>(Flags & MachO::SECTION_TYPE); in getType()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp41 template <typename SectionType>
42 Expected<MachOYAML::Section> constructSectionCommon(SectionType Sec,
44 template <typename SectionType>
45 Expected<MachOYAML::Section> constructSection(SectionType Sec,
47 template <typename SectionType, typename SegmentType>
73 template <typename SectionType>
75 MachODumper::constructSectionCommon(SectionType Sec, size_t SecIndex) { in constructSectionCommon()
163 template <typename SectionType, typename SegmentType>
168 const SectionType *Curr = in extractSections()
169 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSectionMachO.h50 MachO::SectionType getType() const { in getType()
51 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
H A DWriter.cpp27 OS << S.SectionType; in createSectionHeader()
28 bool HasName = S.SectionType == WASM_SEC_CUSTOM; in createSectionHeader()
H A DObject.h25 uint8_t SectionType; member
H A DWasmObjcopy.cpp66 Sec.SectionType = llvm::wasm::WASM_SEC_CUSTOM; in handleArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h29 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SectionType)
183 explicit Section(SectionType SecType) : Type(SecType) {} in Section()
186 SectionType Type;
473 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
474 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp165 WasmYAML::SectionType SectionType; in mapping() local
167 SectionType = Section->Type; in mapping()
169 IO.mapRequired("Type", SectionType); in mapping()
171 switch (SectionType) { in mapping()
277 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
278 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
H A DMachOEmitter.cpp101 template <typename SectionType>
102 SectionType constructSection(MachOYAML::Section Sec) { in constructSection()
103 SectionType TempSec; in constructSection()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp555 MachO::SectionType SectionType = Current->getType(); in parseDirectiveIndirectSymbol() local
556 if (SectionType != MachO::S_NON_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
557 SectionType != MachO::S_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
558 SectionType != MachO::S_THREAD_LOCAL_VARIABLE_POINTERS && in parseDirectiveIndirectSymbol()
559 SectionType != MachO::S_SYMBOL_STUBS) in parseDirectiveIndirectSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp483 uint16_t SectionType = Sec.getSectionType(); in printSectionHeaders() local
484 switch (SectionType) { in printSectionHeaders()
500 W.printHex("Flags", "Reserved", SectionType); in printSectionHeaders()
502 W.printEnum("Type", SectionType, makeArrayRef(SectionTypeFlagsNames)); in printSectionHeaders()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp158 unsigned SectionType = NSec.Flags & MachO::SECTION_TYPE; in createNormalizedSections() local
159 if (SectionType != MachO::S_ZEROFILL && in createNormalizedSections()
160 SectionType != MachO::S_GB_ZEROFILL) { in createNormalizedSections()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h53 enum SectionType { enum
75 MBBSectionID(SectionType T) : Type(T), Number(0) {} in MBBSectionID()
578 return ((unsigned)MBBSectionID::SectionType::Cold) -
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp534 case MBBSectionID::SectionType::Exception: in printName()
537 case MBBSectionID::SectionType::Cold: in printName()
1650 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
1652 MBBSectionID::ExceptionSectionID(MBBSectionID::SectionType::Exception);
H A DBasicBlockSections.cpp407 if (XSectionID.Type == MBBSectionID::SectionType::Default) in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h423 parseMacroOrMacinfo(MacroSecType SectionType);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp518 unsigned SectionType = MachO->getSectionType(Section); in isZeroInit() local
519 return SectionType == MachO::S_ZEROFILL || in isZeroInit()
520 SectionType == MachO::S_GB_ZEROFILL; in isZeroInit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOObjectFile.cpp2024 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionData() local
2026 !(SectionType == MachO::S_ZEROFILL || in isSectionData()
2027 SectionType == MachO::S_GB_ZEROFILL); in isSectionData()
2032 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionBSS() local
2034 (SectionType == MachO::S_ZEROFILL || in isSectionBSS()
2035 SectionType == MachO::S_GB_ZEROFILL); in isSectionBSS()
2051 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionVirtual() local
2052 return SectionType == MachO::S_ZEROFILL || in isSectionVirtual()
2053 SectionType == MachO::S_GB_ZEROFILL; in isSectionVirtual()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dactbl1.h2001 UINT8 SectionType[16];
2016 UINT8 SectionType[16];
1987 UINT8 SectionType[16]; global() member
2002 UINT8 SectionType[16]; global() member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp264 DWARFContext::parseMacroOrMacinfo(MacroSecType SectionType) { in parseMacroOrMacinfo() argument
267 if (Error Err = IsMacro ? Macro->parseMacro(SectionType == MacroSection in parseMacroOrMacinfo()
270 SectionType == MacroSection in parseMacroOrMacinfo()
279 switch (SectionType) { in parseMacroOrMacinfo()
/netbsd-src/sys/dev/acpi/
H A Dapei.c819 apei_cper_guid_dec(gede->SectionType, &sectype); in apei_gesb_report()
829 " SectionType=%s (%s error)\n", in apei_gesb_report()
837 device_printf(sc->sc_dev, "%s: SectionType=%s\n", ctx, in apei_gesb_report()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/sancov/
H A Dsancov.cpp616 uint32_t SectionType = Sec.flags & MachO::SECTION_TYPE; in findMachOIndirectCovFunctions() local
617 if (SectionType == MachO::S_SYMBOL_STUBS) { in findMachOIndirectCovFunctions()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DMachO.h120 enum SectionType : uint32_t { enum

12