LLVM  16.0.0git
ObjectYAML.h
Go to the documentation of this file.
1 //===- ObjectYAML.h ---------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_OBJECTYAML_OBJECTYAML_H
10 #define LLVM_OBJECTYAML_OBJECTYAML_H
11 
22 #include <memory>
23 
24 namespace llvm {
25 namespace yaml {
26 
27 class IO;
28 
30  std::unique_ptr<ArchYAML::Archive> Arch;
31  std::unique_ptr<ELFYAML::Object> Elf;
32  std::unique_ptr<COFFYAML::Object> Coff;
33  std::unique_ptr<MachOYAML::Object> MachO;
34  std::unique_ptr<MachOYAML::UniversalBinary> FatMachO;
35  std::unique_ptr<MinidumpYAML::Object> Minidump;
36  std::unique_ptr<OffloadYAML::Binary> Offload;
37  std::unique_ptr<WasmYAML::Object> Wasm;
38  std::unique_ptr<XCOFFYAML::Object> Xcoff;
39  std::unique_ptr<DXContainerYAML::Object> DXContainer;
40 };
41 
42 template <> struct MappingTraits<YamlObjectFile> {
43  static void mapping(IO &IO, YamlObjectFile &ObjectFile);
44 };
45 
46 } // end namespace yaml
47 } // end namespace llvm
48 
49 #endif // LLVM_OBJECTYAML_OBJECTYAML_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
OffloadYAML.h
ArchiveYAML.h
llvm::yaml::YamlObjectFile
Definition: ObjectYAML.h:29
llvm::yaml::YamlObjectFile::Offload
std::unique_ptr< OffloadYAML::Binary > Offload
Definition: ObjectYAML.h:36
llvm::yaml::YamlObjectFile::Minidump
std::unique_ptr< MinidumpYAML::Object > Minidump
Definition: ObjectYAML.h:35
llvm::yaml::YamlObjectFile::Elf
std::unique_ptr< ELFYAML::Object > Elf
Definition: ObjectYAML.h:31
llvm::yaml::MappingTraits
Definition: ModuleSummaryIndex.h:53
MinidumpYAML.h
ELFYAML.h
llvm::yaml::YamlObjectFile::DXContainer
std::unique_ptr< DXContainerYAML::Object > DXContainer
Definition: ObjectYAML.h:39
llvm::yaml::YamlObjectFile::Coff
std::unique_ptr< COFFYAML::Object > Coff
Definition: ObjectYAML.h:32
WasmYAML.h
llvm::yaml::YamlObjectFile::Xcoff
std::unique_ptr< XCOFFYAML::Object > Xcoff
Definition: ObjectYAML.h:38
llvm::yaml::YamlObjectFile::MachO
std::unique_ptr< MachOYAML::Object > MachO
Definition: ObjectYAML.h:33
DXContainerYAML.h
MachOYAML.h
YAMLTraits.h
llvm::yaml::YamlObjectFile::FatMachO
std::unique_ptr< MachOYAML::UniversalBinary > FatMachO
Definition: ObjectYAML.h:34
XCOFFYAML.h
COFFYAML.h
llvm::yaml::YamlObjectFile::Arch
std::unique_ptr< ArchYAML::Archive > Arch
Definition: ObjectYAML.h:30
llvm::yaml::YamlObjectFile::Wasm
std::unique_ptr< WasmYAML::Object > Wasm
Definition: ObjectYAML.h:37