Module buffer

Module buffer 

Source

Structs§

AsmFixup
A fixup to perform on the buffer once code is emitted. Fixups always refer to labels and patch the code based on label offsets. Hence, they are like relocations, but internal to one buffer.
AsmReloc
A relocation resulting from emitting assembly.
CodeBuffer
A buffer of output to be produced, fixed up, and then emitted to a CodeSink in bulk.
CodeBufferFinalized
A CodeBuffer once emission is completed: holds generated code and records, without fixups. This allows the type to be independent of the backend.
Constant
A use of a constant by one or mroe assembly instructions.

Enums§

ConstantData
ExternalName
LabelUse
Reloc
Relocation kinds for every ISA
RelocDistance
RelocTarget

Functions§

is_imm12
perform_relocations
A generic implementation of relocation resolving.

Type Aliases§

Addend
Addend to add to the symbol value.
CodeOffset
Offset in bytes from the beginning of the function.