Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSectionMachO.cpp119 MachO::SectionType SectionType = getType(); in printSwitchToSection() local
120 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in printSwitchToSection()
123 if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) { in printSwitchToSection()
125 OS << SectionTypeDescriptors[SectionType].AssemblerName; in printSwitchToSection()
202 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
221 if (SectionType.empty()) in ParseSectionSpecifier()
228 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DSection.h65 lldb::SectionSP FindSectionByType(lldb::SectionType sect_type,
110 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
121 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
180 lldb::SectionType GetType() const { return m_type; } in GetType()
255 lldb::SectionType m_type; // The type of this section
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp18 SectionType section_type) { in LoadSection()
32 DWARFContext::LoadOrGetSection(std::optional<SectionType> main_section_type, in LoadOrGetSection()
33 std::optional<SectionType> dwo_section_type, in LoadOrGetSection()
H A DDWARFContext.h49 LoadOrGetSection(std::optional<lldb::SectionType> main_section_type,
50 std::optional<lldb::SectionType> dwo_section_type,
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCSectionMachO.h50 MachO::SectionType getType() const { in getType()
51 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp47 template <typename SectionType>
48 Expected<MachOYAML::Section> constructSectionCommon(SectionType Sec,
50 template <typename SectionType>
51 Expected<MachOYAML::Section> constructSection(SectionType Sec,
53 template <typename SectionType, typename SegmentType>
79 template <typename SectionType>
81 MachODumper::constructSectionCommon(SectionType Sec, size_t SecIndex) { in constructSectionCommon()
169 template <typename SectionType, typename SegmentType>
174 const SectionType *Curr = in extractSections()
175 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections()
[all …]
/openbsd-src/gnu/llvm/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()
70 memcpy((void *)&Sec, Curr, 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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp112 static const SectionType g_sections[] = { in CreateInstance()
123 for (SectionType section_type : g_sections) { in CreateInstance()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp112 static const SectionType g_sections[] = { in CreateInstance()
121 for (SectionType section_type : g_sections) { in CreateInstance()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp114 static const SectionType g_sections[] = { in CreateInstance()
127 for (SectionType section_type : g_sections) { in CreateInstance()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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;
491 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
492 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp167 WasmYAML::SectionType SectionType; in mapping() local
169 SectionType = Section->Type; in mapping()
171 IO.mapRequired("Type", SectionType); in mapping()
173 switch (SectionType) { in mapping()
279 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
280 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
H A DMachOEmitter.cpp107 template <typename SectionType>
108 SectionType constructSection(MachOYAML::Section Sec) { in constructSection()
109 SectionType TempSec; in constructSection()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/include/lldb/API/
H A DSBSection.h55 SectionType GetSectionType();
/openbsd-src/gnu/llvm/lldb/bindings/interface/
H A DSBSection.i91 SectionType
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DSection.cpp156 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section()
172 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section()
586 SectionSP SectionList::FindSectionByType(SectionType sect_type, in FindSectionByType()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h52 enum SectionType { enum
74 MBBSectionID(SectionType T) : Type(T), Number(0) {} in MBBSectionID()
640 return ((unsigned)MBBSectionID::SectionType::Cold) -

12