llvm::codegen::getBBSectionsMode

Translate the -basic-block-sections flag into a BasicBlockSection mode.

Synopsis

Declared in <llvm/CodeGen/CommandFlags.h>

llvm::BasicBlockSection
getBBSectionsMode(llvm::TargetOptions& Options);

Return Value

BasicBlockSection mode corresponding to -basic-block-sections.

Parameters

NameDescription
OptionsTarget options that may receive the BB sections function list buffer when a list file is provided.