Displaying 1 result from an estimated 1 matches for "600ae4".
Did you mean:
600ae0
2010 Jul 13
2
[LLVMdev] different layout of structs for llc vs. llvm-gcc
...bc -o padtest2.bc; llc padtest2.bc -o padtest.s; gcc padtest.s -
lpthread -o padtestllc
0000000000400640 <updater>:
400640: 89 3d 9a 04 20 00 mov %edi,0x20049a(%rip) #
600ae0 <data.0>
400646: 89 3d 98 04 20 00 mov %edi,0x200498(%rip) #
600ae4 <data.2>
padtest2.bc (input to llc) still has the padding in the struct. Also note that
the padding is not removed if the addresses of data's fields are printed.
(2)
llvm-gcc padtest.c -o padtesto3 -O3 -lpthread
00000000004005d0 <updater>:
4005d0: 89 3d ea 04 20 00...