class BufferByteStreamer

Declaration

class BufferByteStreamer : public ByteStreamer { /* full declaration omitted */ };

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:90

Inherits from: ByteStreamer

Member Variables

private SmallVectorImpl<char>& Buffer
private std::vector<std::string>& Comments
public const bool GenerateComments
Only verbose textual output needs comments. This will be set to true for that case, and false otherwise. If false, comments passed in to the emit methods will be ignored.

Method Overview

  • public BufferByteStreamer(SmallVectorImpl<char> & Buffer, std::vector<std::string> & Comments, bool GenerateComments)
  • public unsigned int emitDIERef(const llvm::DIE & D)
  • public void emitInt8(uint8_t Byte, const llvm::Twine & Comment)
  • public void emitSLEB128(uint64_t DWord, const llvm::Twine & Comment)
  • public void emitULEB128(uint64_t DWord, const llvm::Twine & Comment, unsigned int PadTo)

Inherited from ByteStreamer:

Methods

BufferByteStreamer(
    SmallVectorImpl<char>& Buffer,
    std::vector<std::string>& Comments,
    bool GenerateComments)

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:101

Parameters

SmallVectorImpl<char>& Buffer
std::vector<std::string>& Comments
bool GenerateComments

unsigned int emitDIERef(const llvm::DIE& D)

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:134

Parameters

const llvm::DIE& D

void emitInt8(uint8_t Byte,
              const llvm::Twine& Comment)

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:105

Parameters

uint8_t Byte
const llvm::Twine& Comment

void emitSLEB128(uint64_t DWord,
                 const llvm::Twine& Comment)

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:110

Parameters

uint64_t DWord
const llvm::Twine& Comment

void emitULEB128(uint64_t DWord,
                 const llvm::Twine& Comment,
                 unsigned int PadTo)

Declared at: llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h:122

Parameters

uint64_t DWord
const llvm::Twine& Comment
unsigned int PadTo