]> granicus.if.org Git - clang/commit
[IR][ARM] Add function pointer alignment to datalayout
authorMichael Platings <michael.platings@arm.com>
Wed, 6 Mar 2019 17:24:11 +0000 (17:24 +0000)
committerMichael Platings <michael.platings@arm.com>
Wed, 6 Mar 2019 17:24:11 +0000 (17:24 +0000)
commit4ae038e1cdcd46a5959839d681e6ba345a42c407
tree9b31646a79a2d7a35ccc068dbabdf9e2b4764706
parent1cd00105ff77314157050c32ec75f6a13eef5b05
[IR][ARM] Add function pointer alignment to datalayout

Use this feature to fix a bug on ARM where 4 byte alignment is
incorrectly assumed.

Differential Revision: https://reviews.llvm.org/D57335

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355522 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets/ARM.cpp
test/CodeGen/armv7k-abi.c
test/CodeGen/target-data.c