Move PICEnabled declaration here.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 18 Feb 2006 00:06:03 +0000 (00:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 18 Feb 2006 00:06:03 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26271 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetOptions.h

index e208eba6418c76ad370886b1bdca5e58d89657c6..31fdeb8fed2686640b415f68f779b173e27897d8 100644 (file)
@@ -40,6 +40,12 @@ namespace llvm {
   /// produce results that are "less precise" than IEEE allows.  This includes
   /// use of X86 instructions like FSIN and FCOS instead of libcalls.
   extern bool UnsafeFPMath;
+
+  /// PICEnabled - This flag is enabled when the -enable-pic flag is specified
+  /// on the command line. When this flag is on, the code generator produces
+  /// position independant code.
+  extern bool PICEnabled;
+
 } // End llvm namespace
 
 #endif