implement sizeof/alignof support for structs, unions and complex.
This allows us to compile this: struct abc { char A; double D; }; int foo() { return sizeof(struct abc); return __alignof__(struct abc); } Into: ret i32 16 ret i32 8 llvm-svn: 40010
Loading
Please register or sign in to comment