commit | c2cab9b61f13387fba5ce2885b0f1e52f17f236d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Oct 21 09:15:57 2016 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Oct 21 09:15:57 2016 +0000 |
tree | 42c3ed7b5dc75dd9b8911e947ae1e621880e8dbe | |
parent | 7413606415ab637ce928d4db4075fa904557da95 [diff] |
[Support] Fix AlignOf test on i386-linux. On i386 alignof(double) = 8 is not the same as alignof(struct { double }) = 4. This used to be not an issue because the old implementation always measured alignment inside of structs. Wrap a dummy struct around the test to avoid this issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284812 91177308-0d34-0410-b5e6-96231b3b80d8