llvm::yaml::yaml2archive

Write the archive described by Doc as a binary object to Out.

Synopsis

Declared in <llvm/ObjectYAML/yaml2obj.h>

bool
yaml2archive(
    ArchYAML::Archive& Doc,
    raw_ostream& Out,
    ErrorHandler EH);

Return Value

True on success, false if an error was reported via EH.

Parameters

NameDescription
DocParsed YAML description of an archive.
OutOutput stream that receives the binary object.
EHHandler invoked with a message if conversion fails.