|
LLVM
10.0.0
|
Typedefs | |
| using | char_16 = char[16] |
| using | uuid_t = raw_ostream::uuid_t |
| using | ErrorHandler = llvm::function_ref< void(const Twine &Msg)> |
| using llvm::yaml::char_16 = typedef char[16] |
Definition at line 261 of file MachOYAML.h.
| using llvm::yaml::ErrorHandler = typedef llvm::function_ref<void(const Twine &Msg)> |
Definition at line 47 of file yaml2obj.h.
| using llvm::yaml::uuid_t = typedef raw_ostream::uuid_t |
Definition at line 271 of file MachOYAML.h.
| CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 380 of file YAMLParser.h.
References assert().
Referenced by llvm::yaml::MappingNode::begin(), and llvm::yaml::SequenceNode::begin().
|
static |
Definition at line 45 of file WasmYAML.cpp.
References llvm::WasmYAML::Section::Relocations, and llvm::WasmYAML::Section::Type.
Referenced by sectionMapping().
|
static |
Definition at line 1009 of file ELFYAML.cpp.
References llvm::ELFYAML::Section::Address, llvm::ELFYAML::Section::AddressAlign, assert(), llvm::ELFYAML::Section::EntSize, llvm::ELFYAML::Section::Flags, llvm::Optional< T >::hasValue(), llvm::ELFYAML::Section::Link, llvm::ELFYAML::Chunk::Name, llvm::ELFYAML::Section::ShFlags, llvm::ELFYAML::Section::ShName, llvm::ELFYAML::Section::ShOffset, llvm::ELFYAML::Section::ShSize, and llvm::ELFYAML::Section::Type.
Referenced by groupSectionMapping(), and sectionMapping().
| bool llvm::yaml::convertYAML | ( | yaml::Input & | YIn, |
| raw_ostream & | Out, | ||
| ErrorHandler | ErrHandler, | ||
| unsigned | DocNum | ||
| ) |
Definition at line 21 of file yaml2obj.cpp.
References llvm::getOrdinalSuffix(), yaml2coff(), yaml2elf(), yaml2macho(), yaml2minidump(), and yaml2wasm().
| bool llvm::yaml::convertYAML | ( | Input & | YIn, |
| raw_ostream & | Out, | ||
| ErrorHandler | ErrHandler, | ||
| unsigned | DocNum = 1 |
||
| ) |
Referenced by yaml2ObjectFile().
| bool llvm::yaml::dumpTokens | ( | StringRef | Input, |
| raw_ostream & | OS | ||
| ) |
Dump all the tokens in this stream to OS.
Definition at line 593 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::Range, llvm::yaml::Token::TK_Alias, llvm::yaml::Token::TK_Anchor, llvm::yaml::Token::TK_BlockEnd, llvm::yaml::Token::TK_BlockEntry, llvm::yaml::Token::TK_BlockMappingStart, llvm::yaml::Token::TK_BlockScalar, llvm::yaml::Token::TK_BlockSequenceStart, llvm::yaml::Token::TK_DocumentEnd, llvm::yaml::Token::TK_DocumentStart, llvm::yaml::Token::TK_Error, llvm::yaml::Token::TK_FlowEntry, llvm::yaml::Token::TK_FlowMappingEnd, llvm::yaml::Token::TK_FlowMappingStart, llvm::yaml::Token::TK_FlowSequenceEnd, llvm::yaml::Token::TK_FlowSequenceStart, llvm::yaml::Token::TK_Key, llvm::yaml::Token::TK_Scalar, llvm::yaml::Token::TK_StreamEnd, llvm::yaml::Token::TK_StreamStart, llvm::yaml::Token::TK_Tag, llvm::yaml::Token::TK_TagDirective, llvm::yaml::Token::TK_Value, and llvm::yaml::Token::TK_VersionDirective.
Escape Input for a double quoted scalar; if EscapePrintable is true, all UTF8 sequences will be escaped, if EscapePrintable is false, those UTF8 sequences encoding printable unicode scalars will not be escaped, but emitted verbatim.
Definition at line 690 of file YAMLParser.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T >::begin(), decodeUTF8(), llvm::numbers::e, encodeUTF8(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::sys::unicode::isPrintable(), and llvm::utohexstr().
Referenced by llvm::vfs::YAMLVFSWriter::addFileMapping().
|
static |
Definition at line 1128 of file ELFYAML.cpp.
References llvm::ELFYAML::Chunk::Name, llvm::ELFYAML::Fill::Pattern, and llvm::ELFYAML::Fill::Size.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
|
static |
Definition at line 1110 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::Group::Members, and llvm::ELFYAML::Group::Signature.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
| void llvm::yaml::mapLoadCommandData | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 202 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::build_version_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 235 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::dylib_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 217 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 229 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::rpath_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 223 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::segment_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 205 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 211 of file MachOYAML.cpp.
Definition at line 98 of file YAML.h.
References llvm::ArrayRef< T >::empty().
Scans all tokens in input without outputting anything.
This is used for benchmarking the tokenizer.
Definition at line 677 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::TK_Error, and llvm::yaml::Token::TK_StreamEnd.
|
static |
Definition at line 50 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::DylinkSection::MemoryAlignment, llvm::WasmYAML::DylinkSection::MemorySize, llvm::WasmYAML::CustomSection::Name, llvm::WasmYAML::DylinkSection::Needed, llvm::WasmYAML::DylinkSection::TableAlignment, and llvm::WasmYAML::DylinkSection::TableSize.
|
static |
Definition at line 60 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::NameSection::FunctionNames, and llvm::WasmYAML::CustomSection::Name.
|
static |
Definition at line 66 of file WasmYAML.cpp.
References llvm::WasmYAML::LinkingSection::Comdats, commonSectionMapping(), llvm::WasmYAML::LinkingSection::InitFunctions, llvm::WasmYAML::CustomSection::Name, llvm::WasmYAML::LinkingSection::SegmentInfos, llvm::WasmYAML::LinkingSection::SymbolTable, and llvm::WasmYAML::LinkingSection::Version.
|
static |
Definition at line 76 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::ProducersSection::Languages, llvm::WasmYAML::CustomSection::Name, llvm::WasmYAML::ProducersSection::SDKs, and llvm::WasmYAML::ProducersSection::Tools.
|
static |
Definition at line 84 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::TargetFeaturesSection::Features, and llvm::WasmYAML::CustomSection::Name.
|
static |
Definition at line 90 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::CustomSection::Name, and llvm::WasmYAML::CustomSection::Payload.
|
static |
Definition at line 96 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::TypeSection::Signatures.
|
static |
Definition at line 101 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ImportSection::Imports.
|
static |
Definition at line 106 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::FunctionSection::FunctionTypes.
|
static |
Definition at line 111 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::TableSection::Tables.
|
static |
Definition at line 116 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::MemorySection::Memories.
|
static |
Definition at line 121 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::GlobalSection::Globals.
|
static |
Definition at line 126 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::EventSection::Events.
|
static |
Definition at line 131 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ExportSection::Exports.
|
static |
Definition at line 136 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::StartSection::StartFunction.
|
static |
Definition at line 141 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ElemSection::Segments.
|
static |
Definition at line 146 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::CodeSection::Functions.
|
static |
Definition at line 151 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::DataSection::Segments.
|
static |
Definition at line 156 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::DataCountSection::Count.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< WasmYAML::Section > >::mapping().
|
static |
Definition at line 1030 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::DynamicSection::Content, and llvm::ELFYAML::DynamicSection::Entries.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
|
static |
Definition at line 1036 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::RawContentSection::Content, llvm::ELFYAML::RawContentSection::Info, and llvm::ELFYAML::RawContentSection::Size.
|
static |
Definition at line 1043 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::StackSizesSection::Content, llvm::ELFYAML::StackSizesSection::Entries, and llvm::ELFYAML::StackSizesSection::Size.
|
static |
Definition at line 1050 of file ELFYAML.cpp.
References llvm::ELFYAML::HashSection::Bucket, llvm::ELFYAML::HashSection::Chain, commonSectionMapping(), llvm::ELFYAML::HashSection::Content, and llvm::ELFYAML::HashSection::Size.
|
static |
Definition at line 1058 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::NoteSection::Content, llvm::ELFYAML::NoteSection::Notes, and llvm::ELFYAML::NoteSection::Size.
|
static |
|
static |
Definition at line 1074 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::NoBitsSection::Size.
|
static |
Definition at line 1079 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::VerdefSection::Content, llvm::ELFYAML::VerdefSection::Entries, and llvm::ELFYAML::VerdefSection::Info.
|
static |
Definition at line 1086 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::SymverSection::Entries.
|
static |
Definition at line 1091 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::VerneedSection::Content, llvm::ELFYAML::VerneedSection::Info, and llvm::ELFYAML::VerneedSection::VerneedV.
|
static |
Definition at line 1098 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::RelocationSection::RelocatableSec, and llvm::ELFYAML::RelocationSection::Relocations.
|
static |
Definition at line 1104 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::RelrSection::Content, and llvm::ELFYAML::RelrSection::Entries.
|
static |
Definition at line 1116 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::SymtabShndxSection::Entries.
|
static |
Definition at line 1121 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::AddrsigSection::Content, llvm::ELFYAML::AddrsigSection::Size, and llvm::ELFYAML::AddrsigSection::Symbols.
|
static |
Definition at line 1134 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::LinkerOptionsSection::Content, and llvm::ELFYAML::LinkerOptionsSection::Options.
|
static |
Definition at line 1140 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::ELFYAML::DependentLibrariesSection::Content, and llvm::ELFYAML::DependentLibrariesSection::Libs.
|
static |
Definition at line 1157 of file ELFYAML.cpp.
References llvm::Mips::AFL_EXT_NONE, llvm::Mips::AFL_REG_NONE, llvm::ELFYAML::MipsABIFlags::ASEs, commonSectionMapping(), llvm::ELFYAML::MipsABIFlags::CPR1Size, llvm::ELFYAML::MipsABIFlags::CPR2Size, llvm::ELFYAML::MipsABIFlags::Flags1, llvm::ELFYAML::MipsABIFlags::Flags2, llvm::ELFYAML::MipsABIFlags::FpABI, llvm::ELFYAML::MipsABIFlags::GPRSize, llvm::ELFYAML::MipsABIFlags::ISAExtension, llvm::ELFYAML::MipsABIFlags::ISALevel, llvm::ELFYAML::MipsABIFlags::ISARevision, llvm::Mips::Val_GNU_MIPS_ABI_FP_ANY, and llvm::ELFYAML::MipsABIFlags::Version.
| void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 388 of file YAMLParser.h.
References assert(), llvm::yaml::Stream::begin(), and llvm::numbers::e.
Referenced by llvm::yaml::MappingNode::skip(), and llvm::yaml::SequenceNode::skip().
| bool llvm::yaml::yaml2coff | ( | COFFYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH | ||
| ) |
Definition at line 604 of file COFFEmitter.cpp.
References llvm::HexagonISD::CP, layoutCOFF(), layoutOptionalHeader(), and writeCOFF().
Referenced by convertYAML().
| bool llvm::yaml::yaml2elf | ( | ELFYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH | ||
| ) |
Definition at line 1447 of file ELFEmitter.cpp.
References llvm::ELFYAML::FileHeader::Class, llvm::ELFYAML::FileHeader::Data, llvm::ELF::ELFCLASS64, llvm::ELF::ELFDATA2LSB, and llvm::ELFYAML::Object::Header.
Referenced by convertYAML().
| bool llvm::yaml::yaml2macho | ( | YamlObjectFile & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH | ||
| ) |
Definition at line 574 of file MachOEmitter.cpp.
Referenced by convertYAML().
| bool llvm::yaml::yaml2minidump | ( | MinidumpYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH | ||
| ) |
Definition at line 229 of file MinidumpEmitter.cpp.
References llvm::enumerate(), File, llvm::MinidumpYAML::Object::Header, layout(), llvm::makeArrayRef(), llvm::minidump::Header::NumberOfStreams, llvm::minidump::Header::StreamDirectoryRVA, and llvm::MinidumpYAML::Object::Streams.
Referenced by convertYAML().
| std::unique_ptr< object::ObjectFile > llvm::yaml::yaml2ObjectFile | ( | SmallVectorImpl< char > & | Storage, |
| StringRef | Yaml, | ||
| ErrorHandler | ErrHandler | ||
| ) |
Convenience function for tests.
Definition at line 57 of file yaml2obj.cpp.
References llvm::SmallVectorImpl< T >::clear(), convertYAML(), llvm::object::ObjectFile::createObjectFile(), llvm::raw_svector_ostream::str(), llvm::Expected< T >::takeError(), and llvm::toString().
| bool llvm::yaml::yaml2wasm | ( | WasmYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH | ||
| ) |
Definition at line 627 of file WasmEmitter.cpp.
Referenced by convertYAML().
1.8.13