diff options
| author | Renato Golin <renato.golin@linaro.org> | 2013-08-24 14:44:41 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2013-08-24 14:44:41 +0000 |
| commit | 02ab7d3c0e1e5278ca0451dc846aedcf45e623cf (patch) | |
| tree | f371f1e46170ab3a6c7de9be037160f9587808fb /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 45bd2946df2ff7460b7daf06a4fe34de8a58b8cf (diff) | |
| download | clang-02ab7d3c0e1e5278ca0451dc846aedcf45e623cf.tar.gz clang-02ab7d3c0e1e5278ca0451dc846aedcf45e623cf.tar.bz2 clang-02ab7d3c0e1e5278ca0451dc846aedcf45e623cf.tar.xz | |
Add gcc ARM flags -munaligned-access / -mno-unaligned-access
clang already had a mstrict-align which mentiones "Force all memory
accesses to be aligned (ARM only)". On gcc arm this is controlled by
-munaligned-access / -mno-unaligned-access. Add the gcc versions to
the frontend and make -mstrict-align and alias to -mno-unaligned-access
and only show it in clang -cc1 -help.
Since the default value for unaligned accesses / strict alignment
depends on the tripple, both the enable and disable flags are added.
If both are set, the no-unaligned-access is used.
Patch by Jeroen Hofstee.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
