LLVM: handle aggregate_init for packed structs

This commit is contained in:
Andrew Kelley
2022-03-27 14:21:32 -07:00
parent 052079c994
commit 6d2ec7a4e3
3 changed files with 57 additions and 0 deletions

View File

@@ -448,6 +448,14 @@ pub const Builder = opaque {
Name: [*:0]const u8,
) *const Value;
pub const buildZExtOrBitCast = LLVMBuildZExtOrBitCast;
extern fn LLVMBuildZExtOrBitCast(
*const Builder,
Val: *const Value,
DestTy: *const Type,
Name: [*:0]const u8,
) *const Value;
pub const buildSExt = LLVMBuildSExt;
extern fn LLVMBuildSExt(
*const Builder,