Skip to content

Commit 8deca5a

Browse files
authored
Merge pull request #37192 from adrian-prantl/twice-the-pointers-5.5
Update the correct size of Builting.Executor, it is now 2 pointers.
2 parents bf6c832 + 089e076 commit 8deca5a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,10 +1340,9 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
13401340
}
13411341

13421342
case TypeKind::BuiltinExecutor: {
1343-
unsigned PtrSize = CI.getTargetInfo().getPointerWidth(0);
1344-
return DBuilder.createPointerType(nullptr, PtrSize, 0,
1345-
/* DWARFAddressSpace */ None,
1346-
MangledName);
1343+
return createDoublePointerSizedStruct(
1344+
Scope, "Builtin.Executor", nullptr, MainFile, 0,
1345+
llvm::DINode::FlagArtificial, MangledName);
13471346
}
13481347

13491348
case TypeKind::DynamicSelf: {

0 commit comments

Comments
 (0)