llvm::ELFYAML::shouldAllocateFileSpace

Return whether SHT_NOBITS section S should allocate file space.

Synopsis

Declared in <llvm/ObjectYAML/ELFYAML.h>

bool
shouldAllocateFileSpace(
    ArrayRef<ProgramHeader> Phdrs,
    NoBitsSection const& S);

Return Value

True if file space should be allocated for S.

Parameters

NameDescription
PhdrsProgram headers that may cover S.
SNobits section under consideration.