LLVM API Documentation
#include "XCoreTargetObjectFile.h"
#include "XCoreSubtarget.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/Support/ELF.h"
#include "llvm/Target/TargetMachine.h"
Go to the source code of this file.
Functions | |
static unsigned | getXCoreSectionType (SectionKind K) |
static unsigned | getXCoreSectionFlags (SectionKind K, bool IsCPRel) |
static unsigned getXCoreSectionFlags | ( | SectionKind | K, |
bool | IsCPRel | ||
) | [static] |
Definition at line 95 of file XCoreTargetObjectFile.cpp.
References llvm::SectionKind::isMergeableConst16(), llvm::SectionKind::isMergeableConst4(), llvm::SectionKind::isMergeableConst8(), llvm::SectionKind::isMergeableCString(), llvm::SectionKind::isMetadata(), llvm::SectionKind::isText(), llvm::SectionKind::isWriteable(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_EXECINSTR, llvm::ELF::SHF_MERGE, llvm::ELF::SHF_STRINGS, llvm::ELF::SHF_WRITE, llvm::ELF::XCORE_SHF_CP_SECTION, and llvm::ELF::XCORE_SHF_DP_SECTION.
Referenced by llvm::XCoreTargetObjectFile::getExplicitSectionGlobal().
static unsigned getXCoreSectionType | ( | SectionKind | K | ) | [static] |
Definition at line 89 of file XCoreTargetObjectFile.cpp.
References llvm::SectionKind::isBSS(), llvm::ELF::SHT_NOBITS, and llvm::ELF::SHT_PROGBITS.
Referenced by llvm::XCoreTargetObjectFile::getExplicitSectionGlobal().