LLVM: lib/MC/MCAsmInfoDarwin.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

18

19using namespace llvm;

20

24

25

26

27

28

30 return false;

31

33 return false;

34

36 return false;

37

39 default:

40 return true;

41

42

43

54 return false;

55 }

56}

57

59

60

64

70

71

74 ZeroDirective = "\t.space\t";

75

78

79

81

84

87}

88

static bool isSectionAtomizableBySymbols(const MCSection &Section)

True if the section is atomized using the symbols in it.

Definition MCAsmInfoDarwin.cpp:21

MCAsmInfoDarwin()

Definition MCAsmInfoDarwin.cpp:58

bool useCodeAlign(const MCSection &Sec) const final

Definition MCAsmInfoDarwin.cpp:89

bool HasNoDeadStrip

True if this target supports the MachO .no_dead_strip directive.

MCSymbolAttr ProtectedVisibilityAttr

This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility.

bool HasSubsectionsViaSymbols

True if this target has the MachO .subsections_via_symbols directive.

bool SetDirectiveSuppressesReloc

True if the expression .long f - g uses a relocation but it can be suppressed by writing a = f - g ....

LCOMM::LCOMMType LCOMMDirectiveAlignmentType

Describes if the .lcomm directive for the target supports an alignment argument and how it is interpr...

const char * WeakRefDirective

This directive, if non-null, is used to declare a global as being a weak undefined symbol.

bool HasDotTypeDotSizeDirective

True if the target has .type and .size directives, this is true for most ELF targets.

bool HasWeakDefCanBeHiddenDirective

True if we have a directive to declare a global as being a weak defined symbol that can be hidden (un...

const char * InlineAsmStart

If these are nonempty, they contain a directive to emit before and after an inline assembly statement...

StringRef LinkerPrivateGlobalPrefix

This prefix is used for symbols that should be passed through the assembler but be removed by the lin...

const char * InlineAsmEnd

MCSymbolAttr HiddenDeclarationVisibilityAttr

This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibili...

bool DwarfUsesRelocationsAcrossSections

True if Dwarf2 output generally uses relocations for references to other .debug_* sections.

bool HasSingleParameterDotFile

True if the target has a single parameter .file directive, this is true for ELF targets.

bool COMMDirectiveAlignmentIsInBytes

True is .comm's and .lcomms optional alignment is to be specified in bytes instead of log2(n).

bool AlignmentIsInBytes

If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...

const char * ZeroDirective

This should be set to the directive used to get some number of zero (and non-zero if supported by the...

MCSymbolAttr HiddenVisibilityAttr

This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility.

This represents a section on a Mach-O system (used by Mac OS X).

MachO::SectionType getType() const

StringRef getSegmentName() const

Instances of this class represent a uniqued identifier for a section in the current translation unit.

StringRef getName() const

@ S_THREAD_LOCAL_VARIABLE_POINTERS

S_THREAD_LOCAL_VARIABLE_POINTERS - Section with pointers to thread local structures.

@ S_INTERPOSING

S_INTERPOSING - Section with only pairs of function pointers for interposing.

@ S_16BYTE_LITERALS

S_16BYTE_LITERALS - Section with only 16 byte literals.

@ S_LAZY_SYMBOL_POINTERS

S_LAZY_SYMBOL_POINTERS - Section with lazy symbol pointers.

@ S_MOD_TERM_FUNC_POINTERS

S_MOD_TERM_FUNC_POINTERS - Section with only function pointers for termination.

@ S_MOD_INIT_FUNC_POINTERS

S_MOD_INIT_FUNC_POINTERS - Section with only function pointers for initialization.

@ S_CSTRING_LITERALS

S_CSTRING_LITERALS - Section with literal C strings.

@ S_NON_LAZY_SYMBOL_POINTERS

S_NON_LAZY_SYMBOL_POINTERS - Section with non-lazy symbol pointers.

@ S_4BYTE_LITERALS

S_4BYTE_LITERALS - Section with 4 byte literals.

@ S_LITERAL_POINTERS

S_LITERAL_POINTERS - Section with pointers to literals.

@ S_8BYTE_LITERALS

S_8BYTE_LITERALS - Section with 8 byte literals.

@ S_ATTR_PURE_INSTRUCTIONS

S_ATTR_PURE_INSTRUCTIONS - Section contains only true machine instructions.

This is an optimization pass for GlobalISel generic memory operations.

@ MCSA_PrivateExtern

.private_extern (MachO)

@ MCSA_Invalid

Not a valid directive.