aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CompileOptions.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-04 23:32:02 +0000
committerDevang Patel <dpatel@apple.com>2009-06-04 23:32:02 +0000
commit24095dad88dd9d48aa16afa6416417073af251b5 (patch)
treecb6cf528ddeeaf180c936a02072738515ef104e5 /include/clang/Frontend/CompileOptions.h
parent340a4e500f7a3952e7e72265c977711e504c69c7 (diff)
Set function attribute llvm::Attribute::NoRedZone appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompileOptions.h')
-rw-r--r--include/clang/Frontend/CompileOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/CompileOptions.h b/include/clang/Frontend/CompileOptions.h
index 34815c8cb5..a69f8f8a40 100644
--- a/include/clang/Frontend/CompileOptions.h
+++ b/include/clang/Frontend/CompileOptions.h
@@ -41,6 +41,7 @@ public:
/// should be run through the LLVM Verifier.
unsigned TimePasses : 1; /// Set when -ftime-report is enabled.
unsigned NoCommon : 1; /// Set when -fno-common or C++ is enabled.
+ unsigned DisableRedZone : 1; /// Set when -mno-red-zone is enabled.
/// Inlining - The kind of inlining to perform.
InliningMethod Inlining;
@@ -63,6 +64,7 @@ public:
TimePasses = 0;
NoCommon = 0;
Inlining = NoInlining;
+ DisableRedZone = 0;
}
};