aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-02-18 00:06:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-02-18 00:06:03 +0000
commitc9fdea915aaeb1343c3e9825886ce18efdb91994 (patch)
tree865e15882999338f5f74810ee38629dd3cb25b4f /include/llvm/Target
parent012f241987a017ea74d34d4c126997f84902ef61 (diff)
downloadexternal_llvm-c9fdea915aaeb1343c3e9825886ce18efdb91994.zip
external_llvm-c9fdea915aaeb1343c3e9825886ce18efdb91994.tar.gz
external_llvm-c9fdea915aaeb1343c3e9825886ce18efdb91994.tar.bz2
Move PICEnabled declaration here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26271 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-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 e208eba..31fdeb8 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