Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionMachO.cpp120 MachO::SectionType SectionType = getType(); in printSwitchToSection() local
121 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in printSwitchToSection()
124 if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) { in printSwitchToSection()
126 OS << SectionTypeDescriptors[SectionType].AssemblerName; in printSwitchToSection()
197 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
216 if (SectionType.empty()) in ParseSectionSpecifier()
223 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmReader.cpp30 if (ReaderSec.SectionType > WASM_SEC_CUSTOM && in create()
31 ReaderSec.SectionType <= WASM_SEC_LAST_KNOWN) in create()
32 ReaderSec.Name = sectionTypeToString(ReaderSec.SectionType); in create()
H A DWasmWriter.cpp26 OS << S.SectionType; in createSectionHeader()
27 bool HasName = S.SectionType == WASM_SEC_CUSTOM; in createSectionHeader()
H A DWasmObject.cpp33 Sec.SectionType = wasm::WASM_SEC_CUSTOM; in removeSections()
H A DWasmObject.h25 uint8_t SectionType; member
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSection.h66 lldb::SectionSP FindSectionByType(lldb::SectionType sect_type,
106 std::optional<lldb::SectionType> type;
134 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
145 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
204 lldb::SectionType GetType() const { return m_type; } in GetType()
279 lldb::SectionType m_type; // The type of this section
320 bool fromJSON(const llvm::json::Value &value, lldb::SectionType &type,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp19 SectionType section_type) { in LoadSection()
33 DWARFContext::LoadOrGetSection(std::optional<SectionType> main_section_type, in LoadOrGetSection()
34 std::optional<SectionType> dwo_section_type, in LoadOrGetSection()
H A DDWARFContext.h50 LoadOrGetSection(std::optional<lldb::SectionType> main_section_type,
51 std::optional<lldb::SectionType> dwo_section_type,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp192 auto SectionType = [](StringRef Name, in CreateSections() local
193 const coff_section *Section) -> lldb::SectionType { in CreateSections()
198 lldb::SectionType type = StringSwitch<lldb::SectionType>(Name) in CreateSections()
237 SectionType(SectionName, COFFSection), in CreateSections()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionMachO.h58 MachO::SectionType getType() const { in getType()
59 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp30 template <typename SectionType>
31 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon()
59 template <typename SectionType, typename SegmentType>
64 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
66 End = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
69 SectionType Sec; in extractSections()
71 sizeof(SectionType)); in extractSections()
H A DMachOObject.h63 MachO::SectionType getType() const { in getType()
64 return static_cast<MachO::SectionType>(Flags & MachO::SECTION_TYPE); in getType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp111 static const SectionType g_sections[] = { in CreateInstance()
120 for (SectionType section_type : g_sections) { in CreateInstance()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp114 static const SectionType g_sections[] = { in CreateInstance()
125 for (SectionType section_type : g_sections) { in CreateInstance()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp145 static const SectionType g_sections[] = { in CreateInstance()
158 for (SectionType section_type : g_sections) { in CreateInstance()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h336 static lldb::SectionType
349 lldb::SectionType m_sect_type;
355 lldb::SectionType sect_type, size_t size, in AllocationRecord()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSection.cpp163 user_id_t sect_id, ConstString name, SectionType sect_type, in Section()
178 user_id_t sect_id, ConstString name, SectionType sect_type, in Section()
595 SectionSP SectionList::FindSectionByType(SectionType sect_type, in FindSectionByType()
703 bool fromJSON(const llvm::json::Value &value, lldb::SectionType &type, in fromJSON()
706 type = llvm::StringSwitch<lldb::SectionType>(*str) in fromJSON()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h29 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SectionType)
188 explicit Section(SectionType SecType) : Type(SecType) {} in Section()
191 SectionType Type;
494 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
495 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp170 WasmYAML::SectionType SectionType; in mapping() local
172 SectionType = Section->Type; in mapping()
174 IO.mapRequired("Type", SectionType); in mapping()
176 switch (SectionType) { in mapping()
282 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
283 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp549 MachO::SectionType SectionType = Current->getType(); in parseDirectiveIndirectSymbol() local
550 if (SectionType != MachO::S_NON_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
551 SectionType != MachO::S_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
552 SectionType != MachO::S_THREAD_LOCAL_VARIABLE_POINTERS && in parseDirectiveIndirectSymbol()
553 SectionType != MachO::S_SYMBOL_STUBS) in parseDirectiveIndirectSymbol()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBSection.h55 SectionType GetSectionType();
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/XCOFF/
H A DObjectFileXCOFF.cpp330 SectionType section_type = lldb::eSectionTypeOther; in CreateSectionsWithBitness()
338 section_type = llvm::StringSwitch<SectionType>(section.Name) in CreateSectionsWithBitness()
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DFirmwareVolume2.h403 IN EFI_SECTION_TYPE SectionType,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp253 static SectionType GetSectionTypeFromName(llvm::StringRef Name) { in GetSectionTypeFromName()
271 SectionType section_type = eSectionTypeOther; in CreateSections()
/freebsd/sys/dev/acpica/
H A Dacpi_apei.c342 if (memcmp(mem_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) { in apei_ged_handler()
344 } else if (memcmp(pcie_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) { in apei_ged_handler()
352 t = ged->SectionType; in apei_ged_handler()

123