Mac OS X X86-64 low 4G address not available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40701 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 2cda970..6240dc2 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -46,18 +46,23 @@
};
/// AsmFlavor - Which x86 asm dialect to use.
+ ///
AsmWriterFlavorTy AsmFlavor;
/// PICStyle - Which PIC style to use
+ ///
PICStyle::Style PICStyle;
/// X86SSELevel - MMX, SSE1, SSE2, SSE3, SSSE3, or none supported.
+ ///
X86SSEEnum X86SSELevel;
/// X863DNowLevel - 3DNow or 3DNow Athlon, or none supported.
+ ///
X863DNowEnum X863DNowLevel;
/// HasX86_64 - True if the processor supports X86-64 instructions.
+ ///
bool HasX86_64;
/// stackAlignment - The minimum alignment known to hold of the stack frame on
@@ -65,6 +70,7 @@
unsigned stackAlignment;
/// Min. memset / memcpy size that is turned into rep/movs, rep/stos ops.
+ ///
unsigned MinRepStrSizeThreshold;
private:
@@ -72,6 +78,10 @@
/// pointer size is 64 bit.
bool Is64Bit;
+ /// HasLow4GUserAddress - True if the low 4G user-space address is available.
+ ///
+ bool HasLow4GUserAddress;
+
public:
enum {
isELF, isCygwin, isDarwin, isWindows, isMingw
@@ -103,6 +113,10 @@
bool is64Bit() const { return Is64Bit; }
+ /// hasLow4GUserSpaceAddress - True if lower 4G user-space address is
+ /// available.
+ bool hasLow4GUserSpaceAddress() const { return HasLow4GUserAddress; }
+
PICStyle::Style getPICStyle() const { return PICStyle; }
void setPICStyle(PICStyle::Style Style) { PICStyle = Style; }