Assembles machine‐code sections, lays them out, and writes object files.
Synopsis
Declared in <llvm/MC/MCAssembler.h>
class MCAssembler;
Type Aliases
Name |
Description |
List of sections owned by this assembler. |
|
Const iterator over sections in this assembler. |
Member Functions
Name |
Description |
|
Constructors |
|
Deleted copy assignment operator. |
Finish final processing and write the object to the output stream. |
|
Record a relocation directive for later emission. |
|
Get an iterator to the first section. |
|
Compute the effective fragment size. |
|
Dump assembler state for debugging. |
|
Get an iterator past the last section. |
|
Flush any pending errors recorded during layout. |
|
Get a reference to the assembler backend. |
|
Get a pointer to the assembler backend, or null if none is set. |
|
If this symbol is equivalent to A + Constant, return A. |
|
Get the bundle alignment when bundling is enabled. |
|
Get the MC context associated with this assembler. |
|
Get the DWARF line‐table parameters used by this assembler. |
|
Get a reference to the code emitter. |
|
Get a pointer to the code emitter, or null if none is set. |
|
Get the offset of the given fragment inside its containing section. |
|
Return whether all instructions should be fully relaxed. |
|
Get the address size of a section in the current layout. |
|
Get the file size of a section in the current layout. |
|
Get the cumulative size stretch from the last layout iteration. |
|
|
|
Get the mutable list of registered symbols. |
|
Get a reference to the object writer. |
|
Return true if the final layout has been computed. |
|
Return true if a layout has been computed. |
|
Return true if aligned instruction bundling is enabled. |
|
Check whether a given symbol has been flagged with .thumb_func. |
|
Layout all sections and prepare them for emission. |
|
Record a pending error during layout iteration. |
|
Register a section with this assembler. |
|
Register a symbol with this assembler. |
|
Report an error at the given source location. |
|
Reuse an assembler instance |
|
Enable bundling and set the required bundle alignment. |
|
Flag a function symbol as the target of a .thumb_func directive. |
|
Set whether all instructions should be fully relaxed. |
|
Get a range over the registered symbols. |
|
Emit the section contents to |
Friends
Name |
Description |
Defines the object file and target independent interfaces used by the assembler backend to write native file format object files. |
Created with MrDocs