[clang] [win][clang] Align scalar deleting destructors with MSABI (PR #139566)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 10 08:43:27 PDT 2025
================
@@ -2021,7 +2028,10 @@ llvm::Value *MicrosoftCXXABI::EmitVirtualDestructorCall(
ASTContext &Context = getContext();
llvm::Value *ImplicitParam = llvm::ConstantInt::get(
llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()),
- DtorType == Dtor_Deleting);
+ (DtorType == Dtor_Deleting) |
+ 4 * (D && D->isGlobalDelete() &&
----------------
Fznamznon wrote:
Sure, changed.
https://github.com/llvm/llvm-project/pull/139566
More information about the cfe-commits
mailing list