24 if (IO.outputting()) {
35 Input &
In = (Input &)IO;
36 if (IO.mapTag(
"!ELF")) {
39 }
else if (IO.mapTag(
"!COFF")) {
42 }
else if (IO.mapTag(
"!mach-o")) {
45 }
else if (IO.mapTag(
"!fat-mach-o")) {
49 }
else if (IO.mapTag(
"!minidump")) {
52 }
else if (IO.mapTag(
"!WASM")) {
55 }
else if (
const Node *
N = In.getCurrentNode()) {
56 if (
N->getRawTag().empty())
57 IO.setError(
"YAML Object File missing document type tag!");
59 IO.setError(
"YAML Object File unsupported document type tag '" +
60 N->getRawTag() +
"'!");
This class represents lattice values for constants.
std::unique_ptr< COFFYAML::Object > Coff
The top level structure representing a minidump object, consisting of a minidump header, and zero or more streams.
std::unique_ptr< MinidumpYAML::Object > Minidump
std::unique_ptr< MachOYAML::Object > MachO
std::unique_ptr< MachOYAML::UniversalBinary > FatMachO
std::unique_ptr< WasmYAML::Object > Wasm
std::unique_ptr< ELFYAML::Object > Elf
Abstract base class for all Nodes.