Home
last modified time | relevance | path

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

12

/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/lldb/include/lldb/Core/
H A DSection.h66 lldb::SectionSP FindSectionByType(lldb::SectionType sect_type,
105 std::optional<lldb::SectionType> type;
118 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
129 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
188 lldb::SectionType GetType() const { return m_type; } in GetType()
263 lldb::SectionType m_type; // The type of this section
304 bool fromJSON(const llvm::json::Value &value, lldb::SectionType &type,
/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.cpp27 OS << S.SectionType; in createSectionHeader()
28 bool HasName = S.SectionType == WASM_SEC_CUSTOM; in createSectionHeader()
H A DWasmObject.h25 uint8_t SectionType; member
H A DWasmObjcopy.cpp126 Sec.SectionType = llvm::wasm::WASM_SEC_CUSTOM; in handleArgs()
/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()
194 lldb::SectionType type = in CreateSections()
195 StringSwitch<lldb::SectionType>(Name) in CreateSections()
241 SectionType(SectionName, COFFSection), in CreateSections()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp31 template <typename SectionType> in constructSectionCommon()
32 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon()
60 template <typename SectionType, typename SegmentType> in extractSections()
65 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
67 End = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
70 SectionType Sec; in extractSections()
72 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/llvm/include/llvm/MC/
H A DMCSectionMachO.h57 MachO::SectionType getType() const { in getType()
58 return static_cast<MachO::SectionType>(TypeAndAttributes & 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.cpp116 static const SectionType g_sections[] = { in CreateInstance()
129 for (SectionType section_type : g_sections) { in CreateInstance()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h329 static lldb::SectionType
342 lldb::SectionType m_sect_type;
348 lldb::SectionType sect_type, size_t size, in AllocationRecord()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h29 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SectionType)
187 explicit Section(SectionType SecType) : Type(SecType) {} in Section()
190 SectionType Type;
492 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
493 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSection.cpp160 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section()
176 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section()
592 SectionSP SectionList::FindSectionByType(SectionType sect_type, in FindSectionByType()
691 bool fromJSON(const llvm::json::Value &value, lldb::SectionType &type, in fromJSON()
694 type = llvm::StringSwitch<lldb::SectionType>(*str) in fromJSON()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp169 WasmYAML::SectionType SectionType; in mapping() local
171 SectionType = Section->Type; in mapping()
173 IO.mapRequired("Type", SectionType); in mapping()
175 switch (SectionType) { in mapping()
281 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
282 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp253 static SectionType GetSectionTypeFromName(llvm::StringRef Name) { in GetSectionTypeFromName()
255 return llvm::StringSwitch<SectionType>(Name) in GetSectionTypeFromName()
301 SectionType section_type = eSectionTypeOther; in CreateSections()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBSection.h55 SectionType GetSectionType();
/freebsd/sys/dev/acpica/
H A Dacpi_apei.c343 if (memcmp(mem_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) { in apei_ged_handler()
345 } else if (memcmp(pcie_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) { in apei_ged_handler()
353 t = ged->SectionType; in apei_ged_handler()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp1199 uint16_t SectionType = Sec.getSectionType(); in printSectionHeaders() local
1201 switch (SectionType) { in printSectionHeaders()
1217 W.printHex("Flags", "Reserved", SectionType); in printSectionHeaders()
1219 W.printEnum("Type", SectionType, ArrayRef(SectionTypeFlagsNames)); in printSectionHeaders()
1220 if (SectionType == XCOFF::STYP_DWARF) { in printSectionHeaders()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBSection.cpp193 SectionType SBSection::GetSectionType() { in GetSectionType()

12