On 22.10.2016 09:35, Philipp Klaus Krause via cfe-users wrote:
> Found another one that encountered this problem:
>
> http://lists.llvm.org/pipermail/cfe-dev/2013-October/032554.html
>
> Again no solution there.
>
> Is anyone sucessfully using clang (preferably 3.8) with an alignment for
> long
Found another one that encountered this problem:
http://lists.llvm.org/pipermail/cfe-dev/2013-October/032554.html
Again no solution there.
Is anyone sucessfully using clang (preferably 3.8) with an alignment for
long long or double that is not 64 bits?
Philipp
_
In clang-3.8, I'm trying to have some data types aligned on 8-bit
boundaries, which works for everything except long long.
In my target, I've used:
IntAlign = 8;
LongAlign = 8;
LongLongAlign = 8;
FloatAlign = 8;
DataLayoutString =
"E-p:16:8:8-i1:8:8-i8:8:8-i16:8:8-i32:8:8-i64:8:8-f32:8:8-a:8:8";