search for: padtestllc

Displaying 1 result from an estimated 1 matches for "padtestllc".

2010 Jul 13
2
[LLVMdev] different layout of structs for llc vs. llvm-gcc
...that the layout of structs was supposed to be preserved (wrong assumption?). Otherwise, any ideas why this happens? Thanks, Torvald (1) llvm-gcc -emit-llvm -c -o padtest.bc padtest.c; llvm-ld -link-as-library padtest.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. A...