llvm::instrumentor::BaseConfigurationOption

An option for the base configuration.

Synopsis

Declared in <llvm/Transforms/IPO/Instrumentor.h>

struct BaseConfigurationOption;

Types

NameDescription
ValueTy Helper union that holds any possible option type.

Enums

NameDescription
KindTy The possible types of options.

Member Functions

NameDescription
BaseConfigurationOption [constructor]Construct a base configuration option.
getBool Get the boolean value. Only valid if it is a boolean option.
getString Get the string value. Only valid if it is a string option.
setBool Set the boolean value. Only valid if it is a boolean option.
setString Set the string value. Only valid if it is a string option.

Static Member Functions

NameDescription
createBoolOption Create a boolean option with the given name, description, and default.
createStringOption Create a string option with the given name, description, and default.

Data Members

NameDescription
Description Human-readable description of the option.
Kind Discriminator selecting the active member of Value.
Name The name of the option.
Value Stored option payload.