//===-- llvm/CodeGen/ByteStreamer.h - ByteStreamer class --------*- 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 // //===----------------------------------------------------------------------===// // // This file contains a class that can take bytes that would normally be // streamed via the AsmPrinter. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_BYTESTREAMER_H #define LLVM_LIB_CODEGEN_ASMPRINTER_BYTESTREAMER_H #include "DIEHash.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/MC/MCStreamer.h" #include "llvm/Support/LEB128.h" #include <string> namespace llvm { class ByteStreamer { … }; class APByteStreamer final : public ByteStreamer { … }; class HashingByteStreamer final : public ByteStreamer { … }; class BufferByteStreamer final : public ByteStreamer { … }; } #endif