================
@@ -4409,7 +4409,9 @@ static void buildCtorDtorList(
// Create a global array llvm.global_ctors with element type of
// struct { i32, ptr, ptr }
- auto ctorPFTy = mlir::LLVM::LLVMPointerType::get(builder.getContext());
+ cir::CIRDataLayout cirDataLayout(module);
+ auto ctorPFTy = mlir::LLVM::LLVMPointerType::get(
----------------
aobolensk wrote:
If we want to change that I can address that as a follow up
https://github.com/llvm/llvm-project/pull/233927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits