Differential Revision: http://reviews.llvm.org/D19753
authorSriraman Tallam <tmsriram@google.com>
Sat, 30 Apr 2016 04:18:52 +0000 (04:18 +0000)
committerSriraman Tallam <tmsriram@google.com>
Sat, 30 Apr 2016 04:18:52 +0000 (04:18 +0000)
Delete Target Option PositionIndependentExecutable as PIE is now part of module flags.

llvm-svn: 268155

llvm/include/llvm/Target/TargetOptions.h

index 9547472..bfbcccb 100644 (file)
@@ -96,8 +96,7 @@ namespace llvm {
           UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false),
           HonorSignDependentRoundingFPMathOption(false), NoZerosInBSS(false),
           GuaranteedTailCallOpt(false), StackAlignmentOverride(0),
-          StackSymbolOrdering(true),
-          EnableFastISel(false), PositionIndependentExecutable(false),
+          StackSymbolOrdering(true), EnableFastISel(false),
           UseInitArray(false), DisableIntegratedAS(false),
           CompressDebugSections(false), FunctionSections(false),
           DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
@@ -180,12 +179,6 @@ namespace llvm {
     /// compile time.
     unsigned EnableFastISel : 1;
 
-    /// PositionIndependentExecutable - This flag indicates whether the code
-    /// will eventually be linked into a single executable, despite the PIC
-    /// relocation model being in use. It's value is undefined (and irrelevant)
-    /// if the relocation model is anything other than PIC.
-    unsigned PositionIndependentExecutable : 1;
-
     /// UseInitArray - Use .init_array instead of .ctors for static
     /// constructors.
     unsigned UseInitArray : 1;
@@ -273,7 +266,6 @@ inline bool operator==(const TargetOptions &LHS,
     ARE_EQUAL(GuaranteedTailCallOpt) &&
     ARE_EQUAL(StackAlignmentOverride) &&
     ARE_EQUAL(EnableFastISel) &&
-    ARE_EQUAL(PositionIndependentExecutable) &&
     ARE_EQUAL(UseInitArray) &&
     ARE_EQUAL(TrapUnreachable) &&
     ARE_EQUAL(EmulatedTLS) &&