Defines the object file and target independent interfaces used by the assembler backend to write native file format object files.
Synopsis
Declared in <llvm/MC/MCObjectWriter.h>
class MCObjectWriter;
Description
The object writer contains a few callbacks used by the assembler to allow the object writer to modify the assembler data structures at appropriate points. Once assembly is complete, the object writer is given the MCAssembler instance, which contains all the symbol and section data which should be emitted as part of writeObject().
Member Functions
Name |
Description |
|
Copy constructor |
|
Destructor |
|
Copy assignment operator |
Record the given symbol in the address‐significance table to be written diring writeObject(). |
|
Tell the object writer to emit an address‐significance table during writeObject(). If this function is not called, all symbols are treated as address‐significant. |
|
|
Perform any late binding of symbols (for example, to assign symbol indices for use when generating relocations). |
Check whether the difference (A ‐ B) between two symbol references is fully resolved. |
|
|
|
|
Record a relocation entry. |
|
lifetime management |
|
|
|
Write the object file and returns the number of bytes written. |
Protected Types
Name |
Protected Member Functions
Name |
Description |
|
Default constructor |
Protected Data Members
Name |
Description |
List of declared file names |
|
Non-Member Functions
Name |
Description |
Construct a new GOFF writer instance. |
|
Construct a new SPIR‐V writer instance. |
|
Construct a new Wasm writer instance. |
|
Construct a new Win COFF writer instance. |
Derived Classes
Name |
Description |
Created with MrDocs