aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetOptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index e208eba641..31fdeb8fed 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -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