Target asm properties for XCOFF‐based targets.
Synopsis
Declared in <llvm/MC/MCAsmInfoXCOFF.h>
class MCAsmInfoXCOFF
: public MCAsmInfo
Base Classes
Name |
Description |
This class is intended to be used as a base class for asm properties and features specific to the target. |
Type Aliases
Name |
Description |
Type for at specifiers. Currently, 16 bits is enough. |
Enums
Name |
Description |
Assembly character literal syntax types. |
Member Functions
Name |
Description |
|
Deleted copy assignment. |
Append an initial CFI instruction to the prologue frame state. |
|
True if weak*/linkonce* symbols with a comdat should be marked global. |
|
True if the configured binutils version is at least |
|
Return the character‐literal syntax used by this target. |
|
True if DWARF FDE symbol refs should become absolute differences. |
|
True if |
|
True if |
|
True if |
|
True if |
|
True if Dwarf2 output uses relocations across |
|
True if |
|
True if data‐region markers are printed as directives. |
|
True if the target supports emission of debugging information. |
|
True if DWARF |
|
|
Evaluate |
True if |
|
Return the ASCII string directive. |
|
Return the NUL‐terminated ASCII string directive. |
|
Return the default assembler dialect variant. |
|
True if |
|
Get the callee‐saved register stack slot size in bytes. |
|
Get the code pointer size in bytes. |
|
Return the zero‐based column where asm comments are printed. |
|
Return the assembler comment string. |
|
Return the directive used to emit 16‐bit data. |
|
Return the directive used to emit 32‐bit data. |
|
Return the directive used to emit 64‐bit data. |
|
Return the directive used to emit 8‐bit data. |
|
True if a bare |
|
Return the exception‐handling format for the target. |
|
Return the attribute used for exported visibility. |
|
Build an MCExpr referring to an FDE symbol for EH tables. |
|
|
Build an MCExpr referring to a personality symbol for EH tables. |
Return the directive used to declare a global entity. |
|
Return the attribute used for hidden visibility on undefined symbols. |
|
Return the attribute used for hidden visibility. |
|
Return the initial CFI instructions for the prologue frame state. |
|
Return the directive emitted after inline assembly. |
|
Return the directive emitted before inline assembly. |
|
Return the prefix used for compiler/assembler‐internal symbols. |
|
Return how |
|
Return the suffix appended to emitted labels. |
|
Return the linker‐private prefix, or the internal prefix if none. |
|
|
Returns the maximum possible encoded instruction size in bytes. If |
Return the minimum instruction alignment in bytes. |
|
Return the assembler dialect that output printing should use. |
|
Return the attribute used for protected visibility. |
|
|
|
Return the string used to separate instructions on one line. |
|
Return the specifier kind for |
|
Return the printed name for relocation specifier kind |
|
|
Return the section to use for the stack, or null if none. |
Return the retained target MC options. |
|
Return the fill value used for executable alignment padding. |
|
Return the directive used to declare a weak symbol. |
|
Return the directive used to declare a weak undefined symbol. |
|
Return the Windows EH data encoding type. |
|
Return the zero/fill directive string. |
|
True if associative COFF comdats are supported. |
|
True if COFF comdat constants are supported. |
|
True if the target has |
|
True if the target allows |
|
True if the target has a |
|
True if the target supports LEB128 directives. |
|
True if a non‐empty linker‐private global prefix is configured. |
|
True if this target supports the MachO |
|
True if the target respects |
|
True if the target has a single‐parameter |
|
True if this target has the MachO |
|
True if weak‐defined symbols can be declared hidden. |
|
True if this target is AIX. |
|
Return true if C is an acceptable character inside a symbol name. |
|
True if using the HLASM dialect on z/OS. |
|
True if the target is little endian. |
|
True if this is a MachO‐style target (via subsections‐via‐symbols). |
|
True if target stack grow up. |
|
Return true if the identifier |
|
True if DWARF section offsets need a dedicated directive. |
|
True if a local symbol must be created for |
|
Return true if target want to use AsmParser to parse inlineasm. |
|
Return true if assembly (inline or otherwise) should be parsed. |
|
Print |
|
|
Print a target specifier expression to |
|
Print the assembler text that switches to |
Set whether |
|
Set the assumed GNU binutils version for ELF feature selection. |
|
Set the zero‐based column where asm comments are printed. |
|
Set the exception‐handling format for the target. |
|
Set whether full register names are printed. |
|
Set whether target want to use AsmParser to parse inlineasm. |
|
Set whether assembly (inline or otherwise) should be parsed. |
|
|
Set whether assembly (inline or otherwise) should be parsed. |
True if additional comment forms are lexed as comments. |
|
|
Return true if the .section directive should be omitted when emitting |
True if |
|
True if Motorola‐style integer literals are used. |
|
True if |
|
True if symbol names with invalid characters are printed in quotes. |
|
True if data directives accept signed values. |
|
True if the EH begin symbol is printed with an assignment. |
|
True if relocation specifiers use |
|
|
Return true if a |
True if dwarf register numbers are printed in |
|
True if full register names are printed. |
|
Return true if assembly (inline or otherwise) should be parsed. |
|
True if relocation specifiers use parentheses (ARM‐style). |
|
Returns true if the exception handling method for the platform uses call frame information to unwind. |
|
True if CFI is used for non‐EH purposes when exceptions are None. |
|
True if |
|
True if |
|
True if section switching uses Sun‐style ELF flag syntax. |
|
True if Windows CFI‐based EH is in use. |
Protected Member Functions
Name |
Description |
|
Construct XCOFF asm info using the given target options. |
Populate AtSpecifierToName / NameToAtSpecifier from |
|
|
Print the assembler text that switches to |
|
Return true if a |
Protected Data Members
Name |
Description |
True if |
|
Whether additional comment forms are lexed as comments. |
|
True if '@' may start an identifier token. |
|
This is true if the assembler allows @ characters in symbol names. Defaults to false. |
|
True if '$' may start an identifier token. |
|
True if '?' may start an identifier token. |
|
Directive that emits an ASCII string with C escapes. |
|
Directive that emits a NUL‐terminated ASCII string. |
|
Which dialect of an assembler variant to use. Defaults to 0 |
|
Map from |
|
True if we should mark symbols as global instead of weak, for weak*/linkonce*, if the symbol has a comdat. Defaults to false. |
|
Minimum GNU binutils version whose ELF features may be assumed. |
|
True is .comm's and .lcomms optional alignment is to be specified in bytes instead of log2(n). Defaults to true. |
|
Size of the stack slot reserved for callee‐saved registers, in bytes. Default is same as pointer size. |
|
Character‐literal syntax used when emitting byte lists. |
|
Code pointer size in bytes. Default is 4. |
|
The column (zero‐based) at which asm comments should be printed. |
|
This indicates the comment string used by the assembler. Defaults to "#" |
|
Directive that emits 16‐bit integer data. Defaults to "t.shortt". |
|
Directive that emits 32‐bit integer data. Defaults to "t.longt". |
|
Directive that emits 64‐bit integer data. Defaults to "t.quadt". |
|
Directive that emits 8‐bit integer data. |
|
The '$' token, when not referencing an identifier or constant, refers to the current PC. Defaults to false. |
|
The optional specifier to use for the relative FDE symbol references. |
|
True if DWARF FDE symbol reference relocations should be replaced by an absolute difference. |
|
True if dwarf register numbers are printed instead of symbolic register names in .cfi_* directives. Defaults to false. |
|
True if Dwarf2 output generally uses relocations for references to other .debug_* sections. |
|
True if DWARF `.file directory' directive syntax is used by default. |
|
Exception handling format for the target. Defaults to None. |
|
This attribute, if not MCSA_Invalid, is used to declare a symbol as having exported visibility. Defaults to MCSA_Exported. |
|
This is the directive used to declare a global entity. Defaults to ".globl". |
|
True if this is a non‐GNU COFF target. The COFF port of the GNU linker doesn't handle associative comdats in the way that we would like to use them. |
|
True if this is a non‐GNU COFF target. For GNU targets, we don't generate constants into comdat sections. |
|
True if the target has .type and .size directives, this is true for most ELF targets. Defaults to true. |
|
True if the target allows |
|
True if the target has a .ident directive, this is true for ELF targets. Defaults to false. |
|
True if the target supports LEB128 directives. |
|
True if this target supports the MachO .no_dead_strip directive. Defaults to false. |
|
True if the target respects |
|
True if the target has a single parameter .file directive, this is true for ELF targets. Defaults to true. |
|
True if this target has the MachO .subsections_via_symbols directive. Default is false. |
|
True if we have a directive to declare a global as being a weak defined symbol that can be hidden (unexported). Defaults to false. |
|
This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibility. Defaults to MCSA_Hidden. |
|
This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility. Defaults to MCSA_Hidden. |
|
Initial CFI instructions describing the prologue frame state. |
|
Directive emitted after an inline assembly statement. Defaults to "NO_APP". |
|
If these are nonempty, they contain a directive to emit before and after an inline assembly statement. Defaults to "APP", "NO_APP" |
|
Prefix for compiler/assembler‐internal symbols. |
|
True if this target is AIX. |
|
True if using the HLASM dialect on z/OS. |
|
True if target is little endian. Default is true. |
|
Describes if the .lcomm directive for the target supports an alignment argument and how it is interpreted. Defaults to NoAlignment. |
|
This is appended to emitted labels. Defaults to ":" |
|
Prefix for symbols stripped by the linker after assembly. |
|
This is the maximum possible length of an instruction, which is needed to compute the size of an inline asm. Defaults to 4. |
|
Every possible instruction length is a multiple of this value. Factored out in .debug_frame and .debug_line. Defaults to 1. |
|
Map from relocation specifier name to its kind. |
|
True if DWARF section offsets need a dedicated directive. |
|
True if a local symbol must be created for |
|
True if full register names are printed. |
|
Use AsmParser to parse inlineAsm when UseIntegratedAssembler is not set. |
|
Preserve Comments in assembly |
|
This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility. Defaults to MCSA_Protected |
|
Lowercase identifiers that must be quoted when used as symbol names. |
|
This string, if specified, is used to separate instructions from each other when on the same line. Defaults to ';' |
|
True if the expression .long f ‐ g uses a relocation but it can be suppressed by writing a = f ‐ g .long a |
|
True if target stack grow up. Default is false. |
|
True if section switching uses Sun‐style |
|
True if target supports emission of debugging information. Defaults to false. |
|
True if the target supports flags in ".loc" directive, false if only location is allowed. |
|
If this is true, symbol names with invalid characters will be printed in quotes. |
|
True if data directives support signed values |
|
Target‐specific MC options used while configuring this asm info. |
|
If non‐zero, this is used to fill the executable space created as the result of a alignment directive. Defaults to 0 |
|
Print the EH begin symbol with an assignment. Defaults to false. |
|
True if target uses @ (exprspecifier) for relocation specifiers. |
|
This is true if data region markers should be printed as ".data_region/.end_data_region" directives. If false, use "\$d/\$a" labels instead. |
|
Whether the integrated assembler should be used. |
|
True if the integrated assembler should interpret 'a >> b' constant expressions as logical rather than arithmetic. |
|
True if Motorola‐style integer literals (e.g. |
|
(ARM‐specific) Uses parens for relocation specifier in data directives, e.g. .word foo(got). |
|
True if target uses CFI unwind information for other purposes than EH (debugging / sanitizers) when |
|
True if |
|
Use .set instead of = to equate a symbol to an expression. |
|
Used to declare a global as being a weak symbol. Defaults to ".weak". |
|
This directive, if non‐null, is used to declare a global as being a weak undefined symbol. Defaults to nullptr. |
|
Windows exception handling data (.pdata) encoding. Defaults to Invalid. |
|
Directive that emits a run of zero (or fill) bytes. |
Created with MrDocs