LLVM 20.0.0git
Namespaces | Typedefs | Functions
yaml2obj.h File Reference

Common declarations for yaml2obj. More...

#include "llvm/ADT/STLExtras.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::object
 
namespace  llvm::COFFYAML
 
namespace  llvm::ELFYAML
 
namespace  llvm::GOFFYAML
 
namespace  llvm::MinidumpYAML
 
namespace  llvm::OffloadYAML
 
namespace  llvm::WasmYAML
 
namespace  llvm::XCOFFYAML
 
namespace  llvm::ArchYAML
 
namespace  llvm::DXContainerYAML
 
namespace  llvm::yaml
 

Typedefs

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

Functions

bool llvm::yaml::yaml2archive (ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2coff (COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2goff (GOFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2elf (ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, uint64_t MaxSize)
 
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::yaml2offload (OffloadYAML::Binary &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2wasm (WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2xcoff (XCOFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::yaml2dxcontainer (DXContainerYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
 
bool llvm::yaml::convertYAML (Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, unsigned DocNum=1, uint64_t MaxSize=UINT64_MAX)
 
std::unique_ptr< object::ObjectFile > llvm::yaml::yaml2ObjectFile (SmallVectorImpl< char > &Storage, StringRef Yaml, ErrorHandler ErrHandler)
 Convenience function for tests.
 

Detailed Description

Common declarations for yaml2obj.

Definition in file yaml2obj.h.