LLVM 22.0.0git
ELFAsmParser.cpp File Reference

Go to the source code of this file.

Functions

static unsigned parseSectionFlags (const Triple &TT, StringRef flagsStr, bool *UseLastGroup)
static bool hasPrefix (StringRef SectionName, StringRef Prefix)
static bool allowSectionTypeMismatch (const Triple &TT, StringRef SectionName, unsigned Type)
static MCSymbolAttr MCAttrForString (StringRef Type)

Function Documentation

◆ allowSectionTypeMismatch()

bool allowSectionTypeMismatch ( const Triple & TT,
StringRef SectionName,
unsigned Type )
static

Definition at line 477 of file ELFAsmParser.cpp.

References llvm::ELF::SHT_PROGBITS, and llvm::Triple::x86_64.

◆ hasPrefix()

bool hasPrefix ( StringRef SectionName,
StringRef Prefix )
static

Definition at line 472 of file ELFAsmParser.cpp.

◆ MCAttrForString()

◆ parseSectionFlags()