llvm: use alignment of ABI return type when it differs from raw return type
This would previously cause miscompilations when the ABI type had bigger alignment than the raw type.
This commit is contained in:
@@ -917,8 +917,6 @@ test "CFF: C passes to Zig" {
|
||||
try expectOk(c_send_CFF());
|
||||
}
|
||||
test "CFF: C returns to Zig" {
|
||||
// segfault on aarch64 and mips
|
||||
if (builtin.target.cpu.arch == .aarch64) return error.SkipZigTest;
|
||||
if (comptime builtin.cpu.arch.isMIPS()) return error.SkipZigTest;
|
||||
if (comptime builtin.cpu.arch.isPPC()) return error.SkipZigTest;
|
||||
if (comptime builtin.cpu.arch.isPPC64()) return error.SkipZigTest;
|
||||
|
||||
Reference in New Issue
Block a user