003 File Manager
Current Path:
/usr/src/contrib/llvm-project/llvm/include/llvm/ObjectYAML
usr
/
src
/
contrib
/
llvm-project
/
llvm
/
include
/
llvm
/
ObjectYAML
/
📁
..
📄
COFFYAML.h
(7.31 KB)
📄
CodeViewYAMLDebugSections.h
(3.42 KB)
📄
CodeViewYAMLSymbols.h
(1.43 KB)
📄
CodeViewYAMLTypeHashing.h
(1.8 KB)
📄
CodeViewYAMLTypes.h
(2 KB)
📄
DWARFEmitter.h
(1.61 KB)
📄
DWARFYAML.h
(10.33 KB)
📄
ELFYAML.h
(21.44 KB)
📄
MachOYAML.h
(9.45 KB)
📄
MinidumpYAML.h
(9.75 KB)
📄
ObjectYAML.h
(1.22 KB)
📄
WasmYAML.h
(14.15 KB)
📄
XCOFFYAML.h
(1.98 KB)
📄
YAML.h
(3.65 KB)
📄
yaml2obj.h
(1.81 KB)
Editing: yaml2obj.h
//===--- yaml2obj.h - -------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// \file /// Common declarations for yaml2obj //===----------------------------------------------------------------------===// #ifndef LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H #define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H #include "llvm/ADT/STLExtras.h" #include <memory> namespace llvm { class raw_ostream; template <typename T> class SmallVectorImpl; class StringRef; class Twine; namespace object { class ObjectFile; } namespace COFFYAML { struct Object; } namespace ELFYAML { struct Object; } namespace MinidumpYAML { struct Object; } namespace WasmYAML { struct Object; } namespace yaml { class Input; struct YamlObjectFile; using ErrorHandler = llvm::function_ref<void(const Twine &Msg)>; bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, uint64_t MaxSize); bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH); bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); bool convertYAML(Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, unsigned DocNum = 1, uint64_t MaxSize = UINT64_MAX); /// Convenience function for tests. std::unique_ptr<object::ObjectFile> yaml2ObjectFile(SmallVectorImpl<char> &Storage, StringRef Yaml, ErrorHandler ErrHandler); } // namespace yaml } // namespace llvm #endif
Upload File
Create Folder