Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSectionMachO.cpp117 MachO::SectionType SectionType = getType(); in printSwitchToSection() local
118 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in printSwitchToSection()
121 if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) { in printSwitchToSection()
123 OS << SectionTypeDescriptors[SectionType].AssemblerName; in printSwitchToSection()
200 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
219 if (SectionType.empty()) in ParseSectionSpecifier()
226 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp45 template <typename SectionType>
46 Expected<MachOYAML::Section> constructSectionCommon(SectionType Sec,
48 template <typename SectionType>
49 Expected<MachOYAML::Section> constructSection(SectionType Sec,
51 template <typename SectionType, typename SegmentType>
77 template <typename SectionType>
79 MachODumper::constructSectionCommon(SectionType Sec, size_t SecIndex) { in constructSectionCommon()
167 template <typename SectionType, typename SegmentType>
172 const SectionType *Curr = in extractSections()
175 SectionType Sec; in extractSections()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp17 SectionType section_type) { in LoadSection()
31 DWARFContext::LoadOrGetSection(llvm::Optional<SectionType> main_section_type, in LoadOrGetSection()
32 llvm::Optional<SectionType> dwo_section_type, in LoadOrGetSection()
H A DDWARFContext.h49 LoadOrGetSection(llvm::Optional<lldb::SectionType> main_section_type,
50 llvm::Optional<lldb::SectionType> dwo_section_type,
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSectionMachO.h50 MachO::SectionType getType() const { in getType()
51 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/llvm-project-15.0.7/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.h69 MachO::SectionType getType() const { in getType()
70 return static_cast<MachO::SectionType>(Flags & MachO::SECTION_TYPE); in getType()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp114 static const SectionType g_sections[] = { in CreateInstance()
123 for (SectionType section_type : g_sections) { in CreateInstance()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp111 static const SectionType g_sections[] = { in CreateInstance()
122 for (SectionType section_type : g_sections) { in CreateInstance()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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.cpp103 template <typename SectionType>
104 SectionType constructSection(MachOYAML::Section Sec) { in constructSection()
105 SectionType TempSec; in constructSection()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBSection.h55 SectionType GetSectionType();
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp252 static SectionType GetSectionTypeFromName(llvm::StringRef Name) { in GetSectionTypeFromName()
254 return llvm::StringSwitch<SectionType>(Name) in GetSectionTypeFromName()
300 SectionType section_type = eSectionTypeOther; in CreateSections()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBSection.i91 SectionType
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp905 uint16_t SectionType = Sec.getSectionType(); in printSectionHeaders() local
906 switch (SectionType) { in printSectionHeaders()
922 W.printHex("Flags", "Reserved", SectionType); in printSectionHeaders()
924 W.printEnum("Type", SectionType, makeArrayRef(SectionTypeFlagsNames)); in printSectionHeaders()

12