LLVM 20.0.0git
Namespaces | Functions
ELFAsmParser.cpp File Reference
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/SectionKind.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/SMLoc.h"
#include <cassert>
#include <cstdint>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

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)
 
MCAsmParserExtensionllvm::createELFAsmParser ()
 

Function Documentation

◆ allowSectionTypeMismatch()

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

Definition at line 522 of file ELFAsmParser.cpp.

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

◆ hasPrefix()

static bool hasPrefix ( StringRef  SectionName,
StringRef  Prefix 
)
static

Definition at line 517 of file ELFAsmParser.cpp.

◆ MCAttrForString()

static MCSymbolAttr MCAttrForString ( StringRef  Type)
static

◆ parseSectionFlags()

static unsigned parseSectionFlags ( const Triple TT,
StringRef  flagsStr,
bool UseLastGroup 
)
static