LLVM API Documentation

llvm::MCSectionXCore Class Reference

#include <MCSectionXCore.h>

Inheritance diagram for llvm::MCSectionXCore:
[legend]
Collaboration diagram for llvm::MCSectionXCore:
[legend]

List of all members.

Public Types

enum  { SHF_CP_SECTION = FIRST_TARGET_DEP_FLAG, SHF_DP_SECTION = FIRST_TARGET_DEP_FLAG << 1 }

Public Member Functions

virtual void PrintTargetSpecificSectionFlags (const TargetAsmInfo &TAI, raw_ostream &OS) const

Static Public Member Functions

static MCSectionXCore * Create (const StringRef &Section, unsigned Type, unsigned Flags, SectionKind K, bool isExplicit, MCContext &Ctx)


Detailed Description

Definition at line 21 of file MCSectionXCore.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
SHF_CP_SECTION  SHF_CP_SECTION - All sections with the "c" flag are grouped together by the linker to form the constant pool and the cp register is set to the start of the constant pool by the boot code.
SHF_DP_SECTION  SHF_DP_SECTION - All sections with the "d" flag are grouped together by the linker to form the data section and the dp register is set to the start of the section by the boot code.

Definition at line 28 of file MCSectionXCore.h.


Member Function Documentation

MCSectionXCore * MCSectionXCore::Create ( const StringRef &  Section,
unsigned  Type,
unsigned  Flags,
SectionKind  K,
bool  isExplicit,
MCContext &  Ctx 
) [static]

Reimplemented from llvm::MCSectionELF.

Definition at line 20 of file MCSectionXCore.cpp.

Referenced by llvm::XCoreTargetObjectFile::Initialize().

void MCSectionXCore::PrintTargetSpecificSectionFlags ( const TargetAsmInfo &  TAI,
raw_ostream &  OS 
) const [virtual]

PrintTargetSpecificSectionFlags - This handles the XCore-specific cp/dp section flags.

PrintTargetSpecificSectionFlags - This handles the XCore-specific cp/dp section flags.

Reimplemented from llvm::MCSectionELF.

Definition at line 29 of file MCSectionXCore.cpp.

References llvm::MCSectionELF::getFlags(), SHF_CP_SECTION, and SHF_DP_SECTION.


The documentation for this class was generated from the following files: