mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Remove the CFIEnforcing flag from TargetOptions as it is unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -231,11 +231,6 @@ FCFI("fcfi",
|
||||
cl::desc("Apply forward-edge control-flow integrity"),
|
||||
cl::init(false));
|
||||
|
||||
cl::opt<bool>
|
||||
CFIEnforcing("cfi-enforcing",
|
||||
cl::desc("Enforce CFI or pass the violation to a function."),
|
||||
cl::init(false));
|
||||
|
||||
// Note that this option is linked to the cfi-enforcing option above: if
|
||||
// cfi-enforcing is set, then the cfi-func-name option is entirely ignored. If
|
||||
// cfi-enforcing is false and no cfi-func-name is set, then a default function
|
||||
@@ -280,8 +275,6 @@ static inline TargetOptions InitTargetOptionsFromCodeGenFlags() {
|
||||
Options.MCOptions = InitMCTargetOptionsFromFlags();
|
||||
Options.JTType = JTableType;
|
||||
Options.FCFI = FCFI;
|
||||
Options.CFIEnforcing = CFIEnforcing;
|
||||
Options.CFIFuncName = CFIFuncName;
|
||||
|
||||
Options.ThreadModel = TMModel;
|
||||
|
||||
|
Reference in New Issue
Block a user