llvm::Module::addModuleFlag

Add a module flag whose value is a 64-bit integer.

Synopsis

Declared in <llvm/IR/Module.h>

void
addModuleFlag(
    ModFlagBehavior Behavior,
    StringRef Key,
    uint64_t Val);

Parameters

NameDescription
BehaviorHow this flag should be combined when linking.
KeyString key identifying the flag.
ValInteger value stored as the flag.