LLVM 20.0.0git
Classes | Functions
llvm::ELFYAML Namespace Reference

Classes

struct  AddrsigSection
 
struct  ARMIndexTableEntry
 
struct  ARMIndexTableSection
 
struct  BBAddrMapEntry
 
struct  BBAddrMapSection
 
struct  CallGraphEntryWeight
 
struct  CallGraphProfileSection
 
struct  Chunk
 
struct  DependentLibrariesSection
 
struct  DynamicEntry
 
struct  DynamicSection
 
struct  FileHeader
 
struct  Fill
 
struct  GnuHashHeader
 
struct  GnuHashSection
 
struct  GroupSection
 
struct  HashSection
 
struct  LinkerOption
 
struct  LinkerOptionsSection
 
struct  MipsABIFlags
 
struct  NoBitsSection
 
struct  NoteEntry
 
struct  NoteSection
 
struct  Object
 
struct  PGOAnalysisMapEntry
 
struct  ProgramHeader
 
struct  RawContentSection
 
struct  Relocation
 
struct  RelocationSection
 
struct  RelrSection
 
struct  Section
 
struct  SectionHeader
 
struct  SectionHeaderTable
 
struct  SectionOrType
 
struct  StackSizeEntry
 
struct  StackSizesSection
 
struct  Symbol
 
struct  SymtabShndxSection
 
struct  SymverSection
 
struct  VerdefEntry
 
struct  VerdefSection
 
struct  VernauxEntry
 
struct  VerneedEntry
 
struct  VerneedSection
 

Functions

StringRef dropUniqueSuffix (StringRef S)
 
std::string appendUniqueSuffix (StringRef Name, const Twine &Msg)
 
template<class ELFT >
unsigned getDefaultShEntSize (unsigned EMachine, ELF_SHT SecType, StringRef SecName)
 
bool shouldAllocateFileSpace (ArrayRef< ProgramHeader > Phdrs, const NoBitsSection &S)
 

Function Documentation

◆ appendUniqueSuffix()

std::string llvm::ELFYAML::appendUniqueSuffix ( StringRef  Name,
const Twine Msg 
)

Definition at line 695 of file ELFEmitter.cpp.

References Name, SuffixEnd, and SuffixStart.

◆ dropUniqueSuffix()

StringRef llvm::ELFYAML::dropUniqueSuffix ( StringRef  S)

◆ getDefaultShEntSize()

template<class ELFT >
unsigned llvm::ELFYAML::getDefaultShEntSize ( unsigned  EMachine,
ELF_SHT  SecType,
StringRef  SecName 
)

◆ shouldAllocateFileSpace()

bool llvm::ELFYAML::shouldAllocateFileSpace ( ArrayRef< ProgramHeader Phdrs,
const NoBitsSection S 
)

Definition at line 1229 of file ELFEmitter.cpp.

References llvm::CallingConv::C, and llvm::find_if().