Home
last modified time | relevance | path

Searched refs:ELFYAML (Results 1 – 24 of 24) sorted by relevance

/external/llvm/include/llvm/ObjectYAML/
DELFYAML.h23 namespace ELFYAML {
179 LLVM_YAML_IS_SEQUENCE_VECTOR(std::unique_ptr<llvm::ELFYAML::Section>)
180 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::Symbol) in LLVM_YAML_IS_SEQUENCE_VECTOR()
181 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR()
182 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionOrType) in LLVM_YAML_IS_SEQUENCE_VECTOR()
188 struct ScalarEnumerationTraits<ELFYAML::ELF_ET> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
189 static void enumeration(IO &IO, ELFYAML::ELF_ET &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
193 struct ScalarEnumerationTraits<ELFYAML::ELF_EM> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
194 static void enumeration(IO &IO, ELFYAML::ELF_EM &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
198 struct ScalarEnumerationTraits<ELFYAML::ELF_ELFCLASS> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
DObjectYAML.h22 std::unique_ptr<ELFYAML::Object> Elf;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DELFYAML.h26 namespace ELFYAML {
266 Optional<std::vector<ELFYAML::NoteEntry>> Notes;
504 if (auto S = dyn_cast<ELFYAML::Section>(Sec.get())) in getSections()
513 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::AddrsigSymbol)
514 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::StackSizeEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
515 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::DynamicEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
516 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::LinkerOption) in LLVM_YAML_IS_SEQUENCE_VECTOR()
517 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::NoteEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
518 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::ProgramHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
519 LLVM_YAML_IS_SEQUENCE_VECTOR(std::unique_ptr<llvm::ELFYAML::Chunk>) in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
Dyaml2obj.h31 namespace ELFYAML {
50 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
DObjectYAML.h26 std::unique_ptr<ELFYAML::Object> Elf;
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DELFYAML.h27 namespace ELFYAML {
314 Optional<std::vector<ELFYAML::NoteEntry>> Notes;
653 if (auto S = dyn_cast<ELFYAML::Section>(Sec.get())) in getSections()
667 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::StackSizeEntry)
668 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::BBAddrMapEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
669 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::BBAddrMapEntry::BBEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
670 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::DynamicEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
671 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::LinkerOption) in LLVM_YAML_IS_SEQUENCE_VECTOR()
672 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::CallGraphEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
673 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::NoteEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
Dyaml2obj.h31 namespace ELFYAML {
55 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH,
DObjectYAML.h28 std::unique_ptr<ELFYAML::Object> Elf;
/external/llvm-project/llvm/lib/ObjectYAML/
DELFYAML.cpp28 ELFYAML::Chunk::~Chunk() = default;
30 namespace ELFYAML { namespace
40 void ScalarEnumerationTraits<ELFYAML::ELF_ET>::enumeration( in enumeration()
41 IO &IO, ELFYAML::ELF_ET &Value) { in enumeration()
52 void ScalarEnumerationTraits<ELFYAML::ELF_PT>::enumeration( in enumeration()
53 IO &IO, ELFYAML::ELF_PT &Value) { in enumeration()
71 void ScalarEnumerationTraits<ELFYAML::ELF_EM>::enumeration( in enumeration()
72 IO &IO, ELFYAML::ELF_EM &Value) { in enumeration()
239 void ScalarEnumerationTraits<ELFYAML::ELF_ELFCLASS>::enumeration( in enumeration()
240 IO &IO, ELFYAML::ELF_ELFCLASS &Value) { in enumeration()
[all …]
DELFEmitter.cpp195 ELFYAML::Object &Doc;
205 std::vector<Elf_Sym> toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols,
214 StringRef SecName, ELFYAML::Section *YAMLSec);
219 ELFYAML::Section *YAMLSec);
223 ELFYAML::Section *YAMLSec);
226 ELFYAML::Section *YAMLSec);
231 getPhdrFragments(const ELFYAML::ProgramHeader &Phdr,
237 const ELFYAML::NoBitsSection &Section,
240 const ELFYAML::RawContentSection &Section,
243 const ELFYAML::RelocationSection &Section,
[all …]
DObjectYAML.cpp26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
45 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
DCMakeLists.txt13 ELFYAML.cpp
/external/llvm/lib/ObjectYAML/
DELFYAML.cpp20 ELFYAML::Section::~Section() {} in ~Section()
25 ScalarEnumerationTraits<ELFYAML::ELF_ET>::enumeration(IO &IO, in enumeration()
26 ELFYAML::ELF_ET &Value) { in enumeration()
38 ScalarEnumerationTraits<ELFYAML::ELF_EM>::enumeration(IO &IO, in enumeration()
39 ELFYAML::ELF_EM &Value) { in enumeration()
201 void ScalarEnumerationTraits<ELFYAML::ELF_ELFCLASS>::enumeration( in enumeration()
202 IO &IO, ELFYAML::ELF_ELFCLASS &Value) { in enumeration()
211 void ScalarEnumerationTraits<ELFYAML::ELF_ELFDATA>::enumeration( in enumeration()
212 IO &IO, ELFYAML::ELF_ELFDATA &Value) { in enumeration()
221 void ScalarEnumerationTraits<ELFYAML::ELF_ELFOSABI>::enumeration( in enumeration()
[all …]
DObjectYAML.cpp24 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
34 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
35 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
DCMakeLists.txt4 ELFYAML.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFYAML.cpp27 ELFYAML::Chunk::~Chunk() = default;
31 void ScalarEnumerationTraits<ELFYAML::ELF_ET>::enumeration( in enumeration()
32 IO &IO, ELFYAML::ELF_ET &Value) { in enumeration()
43 void ScalarEnumerationTraits<ELFYAML::ELF_PT>::enumeration( in enumeration()
44 IO &IO, ELFYAML::ELF_PT &Value) { in enumeration()
62 void ScalarEnumerationTraits<ELFYAML::ELF_EM>::enumeration( in enumeration()
63 IO &IO, ELFYAML::ELF_EM &Value) { in enumeration()
228 void ScalarEnumerationTraits<ELFYAML::ELF_ELFCLASS>::enumeration( in enumeration()
229 IO &IO, ELFYAML::ELF_ELFCLASS &Value) { in enumeration()
238 void ScalarEnumerationTraits<ELFYAML::ELF_ELFDATA>::enumeration( in enumeration()
[all …]
DELFEmitter.cpp129 ELFYAML::Object &Doc;
135 std::vector<Elf_Sym> toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols,
144 StringRef SecName, ELFYAML::Section *YAMLSec);
149 ELFYAML::Section *YAMLSec);
153 ELFYAML::Section *YAMLSec);
158 getPhdrFragments(const ELFYAML::ProgramHeader &Phdr,
164 const ELFYAML::RawContentSection &Section,
167 const ELFYAML::RelocationSection &Section,
170 const ELFYAML::RelrSection &Section,
172 void writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group,
[all …]
DObjectYAML.cpp26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
37 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
38 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
DCMakeLists.txt12 ELFYAML.cpp
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp59 Expected<std::vector<ELFYAML::ProgramHeader>>
60 dumpProgramHeaders(ArrayRef<std::unique_ptr<ELFYAML::Chunk>> Sections);
63 dumpDWARFSections(std::vector<std::unique_ptr<ELFYAML::Chunk>> &Sections);
66 std::vector<ELFYAML::Symbol> &Symbols);
68 StringRef StrTable, ELFYAML::Symbol &S);
69 Expected<std::vector<std::unique_ptr<ELFYAML::Chunk>>> dumpSections();
70 Error dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
72 ELFYAML::RelocationSection &S);
75 ELFYAML::Relocation &R);
77 Expected<ELFYAML::AddrsigSection *> dumpAddrsigSection(const Elf_Shdr *Shdr);
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp32 StringRef StrTable, ELFYAML::Symbol &S);
33 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
35 ELFYAML::RelocationSection &S);
38 ELFYAML::Relocation &R);
40 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
41 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
42 ErrorOr<ELFYAML::RawContentSection *>
44 ErrorOr<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr);
45 ErrorOr<ELFYAML::Group *> dumpGroup(const Elf_Shdr *Shdr);
46 ErrorOr<ELFYAML::MipsABIFlags *> dumpMipsABIFlags(const Elf_Shdr *Shdr);
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp115 const ELFYAML::Object &Doc;
119 const std::vector<ELFYAML::Symbol> &Symbols);
128 void addSymbols(const std::vector<ELFYAML::Symbol> &Symbols,
131 const ELFYAML::RawContentSection &Section,
134 const ELFYAML::RelocationSection &Section,
136 bool writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group,
139 const ELFYAML::MipsABIFlags &Section,
151 ELFState(const ELFYAML::Object &D) : Doc(D) {} in ELFState()
154 static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc);
216 if (auto S = dyn_cast<ELFYAML::RawContentSection>(Sec.get())) in initSectionHeaders()
[all …]
Dyaml2obj.h22 namespace ELFYAML {
33 int yaml2elf(llvm::ELFYAML::Object &Doc, llvm::raw_ostream &Out);
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/ObjectYAML/
DBUILD.gn21 "ELFYAML.cpp",