authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-14 23:26:32-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-14 23:26:32-07:00
log9329b93b8896e552812d68a542b296cb897584d8
treec19019f3e4e2112a41eece17a521fc2a1fb4c272
parent040cb585e88583cba8a15f30eea07bfd2f135515

LLVM: disable the ABI size safety check

There are many more instances of this check being tripped that we need to fix before we can enable this.

1 files changed, 1 insertions(+), 1 deletions(-)

src/codegen/llvm.zig+1-1
...@@ -2425,7 +2425,7 @@ pub const DeclGen = struct {...@@ -2425,7 +2425,7 @@ pub const DeclGen = struct {
24252425
2426 fn lowerType(dg: *DeclGen, t: Type) Allocator.Error!*const llvm.Type {2426 fn lowerType(dg: *DeclGen, t: Type) Allocator.Error!*const llvm.Type {
2427 const llvm_ty = try lowerTypeInner(dg, t);2427 const llvm_ty = try lowerTypeInner(dg, t);
2428 if (std.debug.runtime_safety) check: {2428 if (std.debug.runtime_safety and false) check: {
2429 if (t.zigTypeTag() == .Opaque) break :check;2429 if (t.zigTypeTag() == .Opaque) break :check;
2430 if (!t.hasRuntimeBits()) break :check;2430 if (!t.hasRuntimeBits()) break :check;
2431 if (!llvm_ty.isSized().toBool()) break :check;2431 if (!llvm_ty.isSized().toBool()) break :check;