mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +00:00
Remove the FCFI option from TargetOptions as it is currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46e3c5a0f7
commit
7db13c42c3
@ -226,11 +226,6 @@ JTableType("jump-table-type",
|
|||||||
"Create one table per unique function type."),
|
"Create one table per unique function type."),
|
||||||
clEnumValEnd));
|
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
|
// Common utility function tightly tied to the options listed here. Initializes
|
||||||
// a TargetOptions object with CodeGen flags and returns it.
|
// a TargetOptions object with CodeGen flags and returns it.
|
||||||
static inline TargetOptions InitTargetOptionsFromCodeGenFlags() {
|
static inline TargetOptions InitTargetOptionsFromCodeGenFlags() {
|
||||||
@ -259,7 +254,6 @@ static inline TargetOptions InitTargetOptionsFromCodeGenFlags() {
|
|||||||
|
|
||||||
Options.MCOptions = InitMCTargetOptionsFromFlags();
|
Options.MCOptions = InitMCTargetOptionsFromFlags();
|
||||||
Options.JTType = JTableType;
|
Options.JTType = JTableType;
|
||||||
Options.FCFI = FCFI;
|
|
||||||
|
|
||||||
Options.ThreadModel = TMModel;
|
Options.ThreadModel = TMModel;
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ namespace llvm {
|
|||||||
DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
|
DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
|
||||||
TrapFuncName(), FloatABIType(FloatABI::Default),
|
TrapFuncName(), FloatABIType(FloatABI::Default),
|
||||||
AllowFPOpFusion(FPOpFusion::Standard), JTType(JumpTable::Single),
|
AllowFPOpFusion(FPOpFusion::Standard), JTType(JumpTable::Single),
|
||||||
FCFI(false), ThreadModel(ThreadModel::POSIX) {}
|
ThreadModel(ThreadModel::POSIX) {}
|
||||||
|
|
||||||
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
|
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
|
||||||
/// option is specified on the command line, and should enable debugging
|
/// option is specified on the command line, and should enable debugging
|
||||||
@ -221,10 +221,6 @@ namespace llvm {
|
|||||||
/// create for functions that have the jumptable attribute.
|
/// create for functions that have the jumptable attribute.
|
||||||
JumpTable::JumpTableType JTType;
|
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
|
/// ThreadModel - This flag specifies the type of threading model to assume
|
||||||
/// for things like atomics
|
/// for things like atomics
|
||||||
ThreadModel::Model ThreadModel;
|
ThreadModel::Model ThreadModel;
|
||||||
@ -257,7 +253,6 @@ inline bool operator==(const TargetOptions &LHS,
|
|||||||
ARE_EQUAL(FloatABIType) &&
|
ARE_EQUAL(FloatABIType) &&
|
||||||
ARE_EQUAL(AllowFPOpFusion) &&
|
ARE_EQUAL(AllowFPOpFusion) &&
|
||||||
ARE_EQUAL(JTType) &&
|
ARE_EQUAL(JTType) &&
|
||||||
ARE_EQUAL(FCFI) &&
|
|
||||||
ARE_EQUAL(ThreadModel) &&
|
ARE_EQUAL(ThreadModel) &&
|
||||||
ARE_EQUAL(MCOptions);
|
ARE_EQUAL(MCOptions);
|
||||||
#undef ARE_EQUAL
|
#undef ARE_EQUAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user