Write the ELF object described by Doc as a binary object to Out.
Declared in <llvm/ObjectYAML/yaml2obj.h>
bool
yaml2elf(
ELFYAML::Object& Doc,
raw_ostream& Out,
ErrorHandler EH,
uint64_t MaxSize);
True on success, false if an error was reported via EH.
| Name | Description |
|---|---|
| Doc | Parsed YAML description of an ELF object. |
| Out | Output stream that receives the binary object. |
| EH | Handler invoked with a message if conversion fails. |
| MaxSize | Upper bound on the size of the generated object. |