llvm::MCStreamer::emitIntValueInHexWithPadding

Emit a constant integer in hex, padded to Size bytes.

Synopsis

Declared in <llvm/MC/MCStreamer.h>

virtual
void
emitIntValueInHexWithPadding(
    uint64_t Value,
    unsigned int Size);

Description

Special case of EmitValue that avoids the client having to pass in a MCExpr for constant integers & prints in Hex format for certain modes, pads the field with leading zeros to Size width.

Parameters

NameDescription
Value- Integer value to emit.
Size- Field width in bytes, including leading-zero padding.