Home
last modified time | relevance | path

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

123

/external/llvm/lib/MC/
DMCSectionMachO.cpp104 MachO::SectionType SectionType = getType(); in PrintSwitchToSection() local
105 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
108 if (SectionTypeDescriptors[SectionType].AssemblerName) { in PrintSwitchToSection()
110 OS << SectionTypeDescriptors[SectionType].AssemblerName; in PrintSwitchToSection()
187 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
208 if (SectionType.empty()) in ParseSectionSpecifier()
216 SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/external/llvm-project/llvm/lib/MC/
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
214 if (SectionType.empty()) in ParseSectionSpecifier()
221 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionMachO.cpp115 MachO::SectionType SectionType = getType(); in PrintSwitchToSection() local
116 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
119 if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) { in PrintSwitchToSection()
121 OS << SectionTypeDescriptors[SectionType].AssemblerName; in PrintSwitchToSection()
198 StringRef SectionType = GetEmptyOrTrim(2); in ParseSectionSpecifier() local
219 if (SectionType.empty()) in ParseSectionSpecifier()
226 return SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
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()
/external/llvm-project/lldb/include/lldb/Core/
DSection.h65 lldb::SectionSP FindSectionByType(lldb::SectionType sect_type,
104 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
115 lldb::SectionType sect_type, lldb::addr_t file_vm_addr,
174 lldb::SectionType GetType() const { return m_type; } in GetType()
242 lldb::SectionType m_type; // The type of this section
/external/swiftshader/third_party/subzero/src/
DIceELFObjectWriter.h94 enum SectionType { ROData = 0, Data, BSS, NumSectionTypes }; enum
163 void writeDataOfType(SectionType SectionType,
/external/llvm-project/llvm/tools/obj2yaml/
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 …]
/external/llvm/tools/obj2yaml/
Dmacho2yaml.cpp52 template <typename SectionType>
53 MachOYAML::Section constructSectionCommon(SectionType Sec) { in constructSectionCommon()
70 template <typename SectionType>
71 MachOYAML::Section constructSection(SectionType Sec);
85 template <typename SectionType, typename SegmentType>
91 const SectionType *Curr = in extractSections()
92 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections()
95 SectionType Sec; in extractSections()
96 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
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()
DDWARFContext.h49 LoadOrGetSection(llvm::Optional<lldb::SectionType> main_section_type,
50 llvm::Optional<lldb::SectionType> dwo_section_type,
/external/llvm-project/llvm/include/llvm/MC/
DMCSectionMachO.h50 MachO::SectionType getType() const { in getType()
51 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSectionMachO.h57 MachO::SectionType getType() const { in getType()
58 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/external/llvm/include/llvm/MC/
DMCSectionMachO.h58 MachO::SectionType getType() const { in getType()
59 return static_cast<MachO::SectionType>(TypeAndAttributes & in getType()
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/
DWriter.cpp26 OS << S.SectionType; in createSectionHeader()
27 bool HasName = S.SectionType == WASM_SEC_CUSTOM; in createSectionHeader()
DObject.h25 uint8_t SectionType; member
/external/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
DSymbolVendorWasm.cpp117 static const SectionType g_sections[] = { in CreateInstance()
128 for (SectionType section_type : g_sections) { in CreateInstance()
/external/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
DSymbolVendorELF.cpp120 static const SectionType g_sections[] = { in CreateInstance()
133 for (SectionType section_type : g_sections) { in CreateInstance()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFile.h67 using llvm::MachO::SectionType;
119 SectionType type;
152 inline bool isZeroFillSection(SectionType T) { in isZeroFillSection()
/external/llvm-project/lldb/include/lldb/Expression/
DIRExecutionUnit.h334 static lldb::SectionType
347 lldb::SectionType m_sect_type;
353 lldb::SectionType sect_type, size_t size, in AllocationRecord()
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DWasmYAML.h29 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SectionType)
181 explicit Section(SectionType SecType) : Type(SecType) {} in Section()
184 SectionType Type;
470 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
471 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h29 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SectionType)
178 explicit Section(SectionType SecType) : Type(SecType) {} in Section()
181 SectionType Type;
466 template <> struct ScalarEnumerationTraits<WasmYAML::SectionType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
467 static void enumeration(IO &IO, WasmYAML::SectionType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm-project/llvm/lib/ObjectYAML/
DWasmYAML.cpp164 WasmYAML::SectionType SectionType; in mapping() local
166 SectionType = Section->Type; in mapping()
168 IO.mapRequired("Type", SectionType); in mapping()
170 switch (SectionType) { in mapping()
276 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
277 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmYAML.cpp163 WasmYAML::SectionType SectionType; in mapping() local
165 SectionType = Section->Type; in mapping()
167 IO.mapRequired("Type", SectionType); in mapping()
169 switch (SectionType) { in mapping()
275 void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration( in enumeration()
276 IO &IO, WasmYAML::SectionType &Type) { in enumeration()
/external/llvm-project/lldb/source/API/
DSBSection.cpp226 SectionType SBSection::GetSectionType() { in GetSectionType()
227 LLDB_RECORD_METHOD_NO_ARGS(lldb::SectionType, SBSection, GetSectionType); in GetSectionType()
319 LLDB_REGISTER_METHOD(lldb::SectionType, SBSection, GetSectionType, ()); in RegisterMethods()
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp474 MachO::SectionType SectionType = Current->getType(); in parseDirectiveIndirectSymbol() local
475 if (SectionType != MachO::S_NON_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
476 SectionType != MachO::S_LAZY_SYMBOL_POINTERS && in parseDirectiveIndirectSymbol()
477 SectionType != MachO::S_THREAD_LOCAL_VARIABLE_POINTERS && in parseDirectiveIndirectSymbol()
478 SectionType != MachO::S_SYMBOL_STUBS) in parseDirectiveIndirectSymbol()

123