LLVM API Documentation

llvm::SectionFlags Namespace Reference


Classes

struct  KeyInfo

Typedefs

typedef DenseMap< unsigned,
std::string, KeyInfo > 
FlagsStringsMapType

Functions

static unsigned getEntitySize (unsigned Flags)
static unsigned setEntitySize (unsigned Flags, unsigned Size)

Variables

const unsigned Invalid = -1U
const unsigned None = 0
const unsigned Code = 1 << 0
 Section contains code.
const unsigned Writeable = 1 << 1
 Section is writeable.
const unsigned BSS = 1 << 2
 Section contains only zeroes.
const unsigned Mergeable = 1 << 3
 Section contains mergeable data.
const unsigned Strings = 1 << 4
 Section contains C-type strings.
const unsigned TLS = 1 << 5
 Section contains thread-local data.
const unsigned Debug = 1 << 6
 Section contains debug data.
const unsigned Linkonce = 1 << 7
 Section is linkonce.
const unsigned Small = 1 << 8
 Section is small.
const unsigned TypeFlags = 0xFF
const unsigned Named = 1 << 23
 Section is named.
const unsigned EntitySize = 0xFF << 24
 Entity size for mergeable stuff.


Typedef Documentation

Definition at line 96 of file TargetAsmInfo.h.


Function Documentation

static unsigned llvm::SectionFlags::getEntitySize ( unsigned  Flags  )  [inline, static]

static unsigned llvm::SectionFlags::setEntitySize ( unsigned  Flags,
unsigned  Size 
) [inline, static]


Variable Documentation

Entity size for mergeable stuff.

Definition at line 78 of file TargetAsmInfo.h.

Referenced by setEntitySize().

Definition at line 75 of file TargetAsmInfo.h.