From 125b453c58b6d94a628c94d46e5038e06183c54c Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Fri, 28 Jul 2023 12:48:01 -0400 Subject: llvm: fix SysV C abi for structs smaller than two eightbytes Closes #16038 Closes #16288 --- src/codegen/llvm/bindings.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/codegen/llvm/bindings.zig') diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig index aee9cea384..2fab61d1cf 100644 --- a/src/codegen/llvm/bindings.zig +++ b/src/codegen/llvm/bindings.zig @@ -434,6 +434,9 @@ pub const Type = opaque { Packed: Bool, ) void; + pub const isSized = LLVMTypeIsSized; + extern fn LLVMTypeIsSized(Ty: *Type) Bool; + pub const constGEP = LLVMConstGEP2; extern fn LLVMConstGEP2( Ty: *Type, -- cgit v1.2.3