11 #ifndef LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H 12 #define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H 20 template <
typename T>
class SmallVectorImpl;
21 template <
typename T>
class Expected;
35 namespace MinidumpYAML {
45 struct YamlObjectFile;
60 std::unique_ptr<object::ObjectFile>
bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH)
This class represents lattice values for constants.
bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
An efficient, type-erasing, non-owning reference to a callable.
The top level structure representing a minidump object, consisting of a minidump header, and zero or more streams.
bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
bool convertYAML(Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, unsigned DocNum=1)
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
std::unique_ptr< object::ObjectFile > yaml2ObjectFile(SmallVectorImpl< char > &Storage, StringRef Yaml, ErrorHandler ErrHandler)
Convenience function for tests.