Structure alignment

Hi,
It's not ok yet.
When a C function calls a LLVM function, or a LLVM function calls a C function, the offset of the variables are wrong.
When a don't mix LLVM with C, it's ok, but I need call extern functions using structs.
Ciao

Manoel

Message-ID:
    <f5aa3e9b0906081415oa706eadh21a7814c0f95e006@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Manoel,

When a C function calls a LLVM function, or a LLVM function calls a C function, the offset of the variables are wrong.
When a don't mix LLVM with C, it's ok, but I need call extern functions using structs.

please open a bugreport with a testcase.

Thanks,

Duncan.