llvm::yaml::yaml2goff

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

Synopsis

Declared in <llvm/ObjectYAML/yaml2obj.h>

bool
yaml2goff(
    GOFFYAML::Object& 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 a GOFF object.
OutOutput stream that receives the binary object.
EHHandler invoked with a message if conversion fails.