Displaying 1 result from an estimated 1 matches similar to: "[LLVMdev] different layout of structs for llc vs. llvm-gcc"
2010 Jul 13
0
[LLVMdev] different layout of structs for llc vs. llvm-gcc
On Tue, Jul 13, 2010 at 10:09 AM, Torvald Riegel
<torvald at se.inf.tu-dresden.de> wrote:
> Hi,
>
> attached is small program in which padding inside a struct is lost when using
> llc, but is not lost when using llvm-gcc or gcc. In particular, padding is
> missing after codegen with llc (see (1) below, LLVM 2.7, Linux x86_64):
> typedef struct {
> unsigned txnal;
>