mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
trailing whitespace
llvm-svn: 114680
This commit is contained in:
parent
bcafcce601
commit
ed295d62f5
@ -22,7 +22,7 @@
|
||||
namespace llvm {
|
||||
class MCSection;
|
||||
class MCContext;
|
||||
|
||||
|
||||
/// MCAsmInfo - This class is intended to be used as a base class for asm
|
||||
/// properties and features specific to the target.
|
||||
namespace ExceptionHandling { enum ExceptionsType { None, Dwarf, SjLj }; }
|
||||
@ -36,25 +36,25 @@ namespace llvm {
|
||||
/// HasSubsectionsViaSymbols - True if this target has the MachO
|
||||
/// .subsections_via_symbols directive.
|
||||
bool HasSubsectionsViaSymbols; // Default is false.
|
||||
|
||||
|
||||
/// HasMachoZeroFillDirective - True if this is a MachO target that supports
|
||||
/// the macho-specific .zerofill directive for emitting BSS Symbols.
|
||||
bool HasMachoZeroFillDirective; // Default is false.
|
||||
|
||||
|
||||
/// HasMachoTBSSDirective - True if this is a MachO target that supports
|
||||
/// the macho-specific .tbss directive for emitting thread local BSS Symbols
|
||||
bool HasMachoTBSSDirective; // Default is false.
|
||||
|
||||
|
||||
/// HasStaticCtorDtorReferenceInStaticMode - True if the compiler should
|
||||
/// emit a ".reference .constructors_used" or ".reference .destructors_used"
|
||||
/// directive after the a static ctor/dtor list. This directive is only
|
||||
/// emitted in Static relocation model.
|
||||
bool HasStaticCtorDtorReferenceInStaticMode; // Default is false.
|
||||
|
||||
|
||||
/// MaxInstLength - This is the maximum possible length of an instruction,
|
||||
/// which is needed to compute the size of an inline asm.
|
||||
unsigned MaxInstLength; // Defaults to 4.
|
||||
|
||||
|
||||
/// PCSymbol - The symbol used to represent the current PC. Used in PC
|
||||
/// relative expressions.
|
||||
const char *PCSymbol; // Defaults to "$".
|
||||
@ -83,12 +83,12 @@ namespace llvm {
|
||||
/// pool entries that are completely private to the .s file and should not
|
||||
/// have names in the .o file. This is often "." or "L".
|
||||
const char *PrivateGlobalPrefix; // Defaults to "."
|
||||
|
||||
|
||||
/// LinkerPrivateGlobalPrefix - This prefix is used for symbols that should
|
||||
/// be passed through the assembler but be removed by the linker. This
|
||||
/// is "l" on Darwin, currently used for some ObjC metadata.
|
||||
const char *LinkerPrivateGlobalPrefix; // Defaults to ""
|
||||
|
||||
|
||||
/// InlineAsmStart/End - If these are nonempty, they contain a directive to
|
||||
/// emit before and after an inline assembly statement.
|
||||
const char *InlineAsmStart; // Defaults to "#APP\n"
|
||||
@ -120,7 +120,7 @@ namespace llvm {
|
||||
/// AsciiDirective - This directive allows emission of an ascii string with
|
||||
/// the standard C escape characters embedded into it.
|
||||
const char *AsciiDirective; // Defaults to "\t.ascii\t"
|
||||
|
||||
|
||||
/// AscizDirective - If not null, this allows for special handling of
|
||||
/// zero terminated strings on this target. This is commonly supported as
|
||||
/// ".asciz". If a target doesn't support this, it can be set to null.
|
||||
@ -138,7 +138,7 @@ namespace llvm {
|
||||
/// which should be relocated as a 32-bit GP-relative offset, e.g. .gpword
|
||||
/// on Mips or .gprel32 on Alpha.
|
||||
const char *GPRel32Directive; // Defaults to NULL.
|
||||
|
||||
|
||||
/// getDataASDirective - Return the directive that should be used to emit
|
||||
/// data of the specified size to the specified numeric address space.
|
||||
virtual const char *getDataASDirective(unsigned Size, unsigned AS) const {
|
||||
@ -152,15 +152,15 @@ namespace llvm {
|
||||
bool SunStyleELFSectionSwitchSyntax; // Defaults to false.
|
||||
|
||||
/// UsesELFSectionDirectiveForBSS - This is true if this target uses ELF
|
||||
/// '.section' directive before the '.bss' one. It's used for PPC/Linux
|
||||
/// '.section' directive before the '.bss' one. It's used for PPC/Linux
|
||||
/// which doesn't support the '.bss' directive only.
|
||||
bool UsesELFSectionDirectiveForBSS; // Defaults to false.
|
||||
|
||||
|
||||
/// HasMicrosoftFastStdCallMangling - True if this target uses microsoft
|
||||
/// style mangling for functions with X86_StdCall/X86_FastCall calling
|
||||
/// convention.
|
||||
bool HasMicrosoftFastStdCallMangling; // Defaults to false.
|
||||
|
||||
|
||||
//===--- Alignment Information ----------------------------------------===//
|
||||
|
||||
/// AlignDirective - The directive used to emit round up to an alignment
|
||||
@ -179,27 +179,27 @@ namespace llvm {
|
||||
unsigned TextAlignFillValue; // Defaults to 0
|
||||
|
||||
//===--- Global Variable Emission Directives --------------------------===//
|
||||
|
||||
|
||||
/// GlobalDirective - This is the directive used to declare a global entity.
|
||||
///
|
||||
const char *GlobalDirective; // Defaults to NULL.
|
||||
|
||||
/// ExternDirective - This is the directive used to declare external
|
||||
/// ExternDirective - This is the directive used to declare external
|
||||
/// globals.
|
||||
///
|
||||
const char *ExternDirective; // Defaults to NULL.
|
||||
|
||||
|
||||
/// HasSetDirective - True if the assembler supports the .set directive.
|
||||
bool HasSetDirective; // Defaults to true.
|
||||
|
||||
|
||||
/// HasLCOMMDirective - This is true if the target supports the .lcomm
|
||||
/// directive.
|
||||
bool HasLCOMMDirective; // Defaults to false.
|
||||
|
||||
|
||||
/// COMMDirectiveAlignmentIsInBytes - True is COMMDirective's optional
|
||||
/// alignment is to be specified in bytes instead of log2(n).
|
||||
bool COMMDirectiveAlignmentIsInBytes; // Defaults to true;
|
||||
|
||||
|
||||
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
|
||||
/// directives, this is true for most ELF targets.
|
||||
bool HasDotTypeDotSizeDirective; // Defaults to true.
|
||||
@ -215,7 +215,7 @@ namespace llvm {
|
||||
/// WeakRefDirective - This directive, if non-null, is used to declare a
|
||||
/// global as being a weak undefined symbol.
|
||||
const char *WeakRefDirective; // Defaults to NULL.
|
||||
|
||||
|
||||
/// WeakDefDirective - This directive, if non-null, is used to declare a
|
||||
/// global as being a weak defined symbol.
|
||||
const char *WeakDefDirective; // Defaults to NULL.
|
||||
@ -223,7 +223,7 @@ namespace llvm {
|
||||
/// LinkOnceDirective - This directive, if non-null is used to declare a
|
||||
/// global as being a weak defined symbol. This is used on cygwin/mingw.
|
||||
const char *LinkOnceDirective; // Defaults to NULL.
|
||||
|
||||
|
||||
/// HiddenVisibilityAttr - This attribute, if not MCSA_Invalid, is used to
|
||||
/// declare a symbol as having hidden visibility.
|
||||
MCSymbolAttr HiddenVisibilityAttr; // Defaults to MCSA_Hidden.
|
||||
@ -257,8 +257,8 @@ namespace llvm {
|
||||
|
||||
/// DwarfSectionOffsetDirective - Special section offset directive.
|
||||
const char* DwarfSectionOffsetDirective; // Defaults to NULL
|
||||
|
||||
/// DwarfUsesAbsoluteLabelForStmtList - True if DW_AT_stmt_list needs
|
||||
|
||||
/// DwarfUsesAbsoluteLabelForStmtList - True if DW_AT_stmt_list needs
|
||||
/// absolute label instead of offset.
|
||||
bool DwarfUsesAbsoluteLabelForStmtList; // Defaults to true;
|
||||
|
||||
@ -279,7 +279,7 @@ namespace llvm {
|
||||
static unsigned getULEB128Size(unsigned Value);
|
||||
|
||||
bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
|
||||
|
||||
|
||||
// Data directive accessors.
|
||||
//
|
||||
const char *getData8bitsDirective(unsigned AS = 0) const {
|
||||
@ -302,11 +302,11 @@ namespace llvm {
|
||||
virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
bool usesSunStyleELFSectionSwitchSyntax() const {
|
||||
return SunStyleELFSectionSwitchSyntax;
|
||||
}
|
||||
|
||||
|
||||
bool usesELFSectionDirectiveForBSS() const {
|
||||
return UsesELFSectionDirectiveForBSS;
|
||||
}
|
||||
@ -314,7 +314,7 @@ namespace llvm {
|
||||
bool hasMicrosoftFastStdCallMangling() const {
|
||||
return HasMicrosoftFastStdCallMangling;
|
||||
}
|
||||
|
||||
|
||||
// Accessors.
|
||||
//
|
||||
bool hasMachoZeroFillDirective() const { return HasMachoZeroFillDirective; }
|
||||
@ -402,7 +402,7 @@ namespace llvm {
|
||||
const char *getWeakRefDirective() const { return WeakRefDirective; }
|
||||
const char *getWeakDefDirective() const { return WeakDefDirective; }
|
||||
const char *getLinkOnceDirective() const { return LinkOnceDirective; }
|
||||
|
||||
|
||||
MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;}
|
||||
MCSymbolAttr getProtectedVisibilityAttr() const {
|
||||
return ProtectedVisibilityAttr;
|
||||
|
Loading…
Reference in New Issue
Block a user