aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-09 17:29:19 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-09 17:29:19 +0000
commit7e293276281bd5bf8526c064d298082b08f0bd8b (patch)
tree2b59de54adc085df66ead1fb8eb01f01c9233de2 /include/clang/Frontend
parent02f0022dfced0d082d979ebfd9185211f4dd0496 (diff)
[driver] Add a -mstrict-align compiler option for ARM targets.
rdar://12340498 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r--include/clang/Frontend/CodeGenOptions.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.def b/include/clang/Frontend/CodeGenOptions.def
index 558e6f1111..3df0b2fa7d 100644
--- a/include/clang/Frontend/CodeGenOptions.def
+++ b/include/clang/Frontend/CodeGenOptions.def
@@ -100,6 +100,7 @@ CODEGENOPT(VerifyModule , 1, 1) ///< Control whether the module should be r
CODEGENOPT(StackRealignment , 1, 0) ///< Control whether to permit stack
///< realignment.
+CODEGENOPT(StrictAlign , 1, 0) ///< Force all memory accesses to be aligned.
CODEGENOPT(UseInitArray , 1, 0) ///< Control whether to use .init_array or
///< .ctors.
VALUE_CODEGENOPT(StackAlignment , 32, 0) ///< Overrides default stack