25 if (IO.outputting()) {
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(
"!WASM")) {
53 Input &
In = (Input &)IO;
54 std::string
Tag = In.getCurrentNode()->getRawTag();
56 IO.setError(
"YAML Object File missing document type tag!");
59 Twine(
"YAML Object File unsupported document type tag '") +
This class represents lattice values for constants.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
std::unique_ptr< COFFYAML::Object > Coff
std::unique_ptr< MachOYAML::Object > MachO
std::unique_ptr< MachOYAML::UniversalBinary > FatMachO
std::unique_ptr< WasmYAML::Object > Wasm
std::unique_ptr< ELFYAML::Object > Elf