"Create one table per unique function type."),
clEnumValEnd));
-cl::opt<bool>
-FCFI("fcfi",
- cl::desc("Apply forward-edge control-flow integrity"),
- cl::init(false));
-
// Common utility function tightly tied to the options listed here. Initializes
// a TargetOptions object with CodeGen flags and returns it.
static inline TargetOptions InitTargetOptionsFromCodeGenFlags() {
Options.MCOptions = InitMCTargetOptionsFromFlags();
Options.JTType = JTableType;
- Options.FCFI = FCFI;
Options.ThreadModel = TMModel;
DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
TrapFuncName(), FloatABIType(FloatABI::Default),
AllowFPOpFusion(FPOpFusion::Standard), JTType(JumpTable::Single),
- FCFI(false), ThreadModel(ThreadModel::POSIX) {}
+ ThreadModel(ThreadModel::POSIX) {}
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
/// option is specified on the command line, and should enable debugging
/// create for functions that have the jumptable attribute.
JumpTable::JumpTableType JTType;
- /// FCFI - This flags controls whether or not forward-edge control-flow
- /// integrity is applied.
- bool FCFI;
-
/// ThreadModel - This flag specifies the type of threading model to assume
/// for things like atomics
ThreadModel::Model ThreadModel;
ARE_EQUAL(FloatABIType) &&
ARE_EQUAL(AllowFPOpFusion) &&
ARE_EQUAL(JTType) &&
- ARE_EQUAL(FCFI) &&
ARE_EQUAL(ThreadModel) &&
ARE_EQUAL(MCOptions);
#undef ARE_EQUAL