Skip to content

Commit c243406

Browse files
committed
[clang][CIR] Fix build after 4d10c11
1 parent f87d6af commit c243406

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenVTables.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ mlir::Attribute CIRGenVTables::getVTableComponent(
145145
case VTableComponent::CK_FunctionPointer:
146146
case VTableComponent::CK_CompleteDtorPointer:
147147
case VTableComponent::CK_DeletingDtorPointer: {
148-
GlobalDecl gd = component.getGlobalDecl();
148+
GlobalDecl gd = component.getGlobalDecl(
149+
cgm.getASTContext().getTargetInfo().emitVectorDeletingDtors(
150+
cgm.getASTContext().getLangOpts()));
149151

150152
assert(!cir::MissingFeatures::cudaSupport());
151153

0 commit comments

Comments
 (0)