Emit nops until the byte alignment ByteAlignment is reached.
Declared in <llvm/MC/MCStreamer.h>
Emit nops until the byte alignment ByteAlignment is reached.
virtual
void
emitCodeAlignment(
Align Alignment,
MCSubtargetInfo const& STI,
unsigned int MaxBytesToEmit = 0);
» more...
virtual
void
emitCodeAlignment(
Align ByteAlignment,
MCSubtargetInfo const& STI,
unsigned int MaxBytesToEmit = 0) override;
» more...
| Name | Description |
|---|---|
| Alignment | - The alignment to reach. |
| STI | - The MCSubtargetInfo in operation when padding is emitted. |
| MaxBytesToEmit | - The maximum numbers of bytes to emit, or 0. If the alignment cannot be reached in this many bytes, no bytes are emitted. |