Displaying 2 results from an estimated 2 matches for "98d04ef9".
2019 May 12
2
How to change CLang struct alignment behaviour?
My target implementation has 2 byte (16 bit ints)
For my target implementation I would want that Clang would always use 2 byte aligned padding for Structs, which would match the size of an int.
The current situation is that for this struct:
struct AA
{
char n;
char m;
char j;
};
I get it aligned by 1:
%a = alloca %struct.AA, align 1
I would want it to implicitly use 4 bytes
2019 May 13
2
How to change CLang struct alignment behaviour?
...Might be worth asking this on the cfe-dev mailing list though. That's
> where most of the Clang experts live.
>
> Cheers.
>
> Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190513/98d04ef9/attachment.html>