LLVM API Documentation
#include <MCELF.h>
Static Public Member Functions | |
static void | SetBinding (MCSymbolData &SD, unsigned Binding) |
static unsigned | GetBinding (const MCSymbolData &SD) |
static void | SetType (MCSymbolData &SD, unsigned Type) |
static unsigned | GetType (const MCSymbolData &SD) |
static void | SetVisibility (MCSymbolData &SD, unsigned Visibility) |
static unsigned | GetVisibility (const MCSymbolData &SD) |
static void | setOther (MCSymbolData &SD, unsigned Other) |
static unsigned | getOther (const MCSymbolData &SD) |
unsigned llvm::MCELF::GetBinding | ( | const MCSymbolData & | SD | ) | [static] |
Definition at line 29 of file MCELF.cpp.
References llvm::ELF_STB_Shift, llvm::MCSymbolData::getFlags(), llvm::ELF::STB_GLOBAL, llvm::ELF::STB_LOCAL, and llvm::ELF::STB_WEAK.
Referenced by llvm::MCELFStreamer::EmitCommonSymbol().
unsigned llvm::MCELF::getOther | ( | const MCSymbolData & | SD | ) | [static] |
Definition at line 79 of file MCELF.cpp.
References llvm::ELF_STO_Shift, and llvm::MCSymbolData::getFlags().
Referenced by llvm::MipsTargetELFStreamer::emitAssignment().
unsigned llvm::MCELF::GetType | ( | const MCSymbolData & | SD | ) | [static] |
Definition at line 46 of file MCELF.cpp.
References llvm::ELF_STT_Shift, llvm::MCSymbolData::getFlags(), llvm::ELF::STT_COMMON, llvm::ELF::STT_FUNC, llvm::ELF::STT_GNU_IFUNC, llvm::ELF::STT_NOTYPE, llvm::ELF::STT_OBJECT, llvm::ELF::STT_SECTION, llvm::ELF::STT_TLS, and Type.
Referenced by llvm::MipsTargetELFStreamer::emitAssignment(), llvm::MipsTargetELFStreamer::emitLabel(), and llvm::MCELFStreamer::EmitSymbolAttribute().
unsigned llvm::MCELF::GetVisibility | ( | const MCSymbolData & | SD | ) | [static] |
Definition at line 64 of file MCELF.cpp.
References llvm::ELF_STV_Shift, llvm::MCSymbolData::getFlags(), llvm::ELF::STV_DEFAULT, llvm::ELF::STV_HIDDEN, llvm::ELF::STV_INTERNAL, and llvm::ELF::STV_PROTECTED.
void llvm::MCELF::SetBinding | ( | MCSymbolData & | SD, |
unsigned | Binding | ||
) | [static] |
Definition at line 22 of file MCELF.cpp.
References llvm::ELF_STB_Shift, llvm::MCSymbolData::getFlags(), llvm::MCSymbolData::setFlags(), llvm::ELF::STB_GLOBAL, llvm::ELF::STB_LOCAL, and llvm::ELF::STB_WEAK.
Referenced by llvm::MCELFStreamer::EmitCommonSymbol(), llvm::MCELFStreamer::EmitLocalCommonSymbol(), and llvm::MCELFStreamer::EmitSymbolAttribute().
void llvm::MCELF::setOther | ( | MCSymbolData & | SD, |
unsigned | Other | ||
) | [static] |
Definition at line 74 of file MCELF.cpp.
References llvm::ELF_STO_Shift, llvm::MCSymbolData::getFlags(), and llvm::MCSymbolData::setFlags().
Referenced by llvm::MipsTargetELFStreamer::emitAssignment(), and llvm::MipsTargetELFStreamer::emitLabel().
void llvm::MCELF::SetType | ( | MCSymbolData & | SD, |
unsigned | Type | ||
) | [static] |
Definition at line 36 of file MCELF.cpp.
References llvm::ELF_STT_Shift, llvm::MCSymbolData::getFlags(), llvm::MCSymbolData::setFlags(), llvm::ELF::STT_COMMON, llvm::ELF::STT_FUNC, llvm::ELF::STT_GNU_IFUNC, llvm::ELF::STT_NOTYPE, llvm::ELF::STT_OBJECT, llvm::ELF::STT_SECTION, and llvm::ELF::STT_TLS.
Referenced by llvm::MCELFStreamer::EmitCommonSymbol(), llvm::MCELFStreamer::EmitLabel(), llvm::MCELFStreamer::EmitSymbolAttribute(), and fixELFSymbolsInTLSFixupsImpl().
void llvm::MCELF::SetVisibility | ( | MCSymbolData & | SD, |
unsigned | Visibility | ||
) | [static] |
Definition at line 56 of file MCELF.cpp.
References llvm::ELF_STV_Shift, llvm::MCSymbolData::getFlags(), llvm::MCSymbolData::setFlags(), llvm::ELF::STV_DEFAULT, llvm::ELF::STV_HIDDEN, llvm::ELF::STV_INTERNAL, and llvm::ELF::STV_PROTECTED.
Referenced by llvm::MCELFStreamer::EmitSymbolAttribute().