LLVM  10.0.0svn
Classes | Namespaces | Typedefs | Functions
yaml2obj.h File Reference

Common declarations for yaml2obj. More...

#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <memory>
Include dependency graph for yaml2obj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::SmallVectorImpl< T >
 This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter. More...
 
class  llvm::Expected< T >
 Tagged union holding either a T or a Error. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::object
 
 llvm::COFFYAML
 
 llvm::ELFYAML
 
 llvm::MinidumpYAML
 
 llvm::WasmYAML
 
 llvm::yaml
 

Typedefs

using llvm::yaml::ErrorHandler = llvm::function_ref< void(const Twine &Msg)>
 

Functions

bool llvm::yaml::yaml2coff (COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2elf (ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2macho (YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2minidump (MinidumpYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2wasm (WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::convertYAML (Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, unsigned DocNum=1)
 
std::unique_ptr< object::ObjectFile > llvm::yaml::yaml2ObjectFile (SmallVectorImpl< char > &Storage, StringRef Yaml, ErrorHandler ErrHandler)
 Convenience function for tests. More...
 

Detailed Description

Common declarations for yaml2obj.

Definition in file yaml2obj.h.