llvm::MCStreamer::emitULEB128IntValue

Special case of EmitULEB128Value that avoids the client having to pass in a MCExpr for constant integers.

Synopsis

Declared in <llvm/MC/MCStreamer.h>

unsigned int
emitULEB128IntValue(
    uint64_t Value,
    unsigned int PadTo = 0);

Return Value

The number of bytes emitted.

Parameters

NameDescription
Value- Integer value to encode.
PadTo- Minimum encoded size in bytes, or 0 for no padding.