Displaying 1 result from an estimated 1 matches for "1012841".
Did you mean:
1012845
2010 Oct 19
2
[LLVMdev] Structure memory layout
Hi Renato,
Firstly, I have been removing target specific information from struct type on bitcode.
Target specific information are type size, type alignment, merged bitfields and so on.
For example
1 struct test {
2 char a:3;
3 char b:4;
4 char c:3;
5 char d:2;
6 };
7
8 struct test vm = {1, 2, 3, 1};
9
10 int main(void)
11 {
12 int a;
13 vm.d = 1;
14 }
Above