Skip to content

Commit b03698c

Browse files
committed
More debug output
1 parent 8456e0c commit b03698c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/IRGen/TypeLayout.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ class LayoutStringBuilder {
395395
static_cast<uint64_t>(flags));
396396
B.fillPlaceholderWithInt(sizePlaceholder, IGM.SizeTy, refCountBytes);
397397

398+
fprintf(stderr, "----- END SKIP %zu\n", skip);
399+
398400
B.addInt64((uint64_t)skip);
399401

400402
// NUL terminator
@@ -1723,6 +1725,8 @@ AlignedGroupEntry::layoutString(IRGenModule &IGM,
17231725
auto SB = IB.beginStruct();
17241726
SB.setPacked(true);
17251727

1728+
ty.dump();
1729+
17261730
B.result(IGM, SB, genericSig);
17271731

17281732
IRGenMangler mangler;
@@ -2323,6 +2327,7 @@ EnumTypeLayoutEntry::layoutString(IRGenModule &IGM,
23232327
auto SB = IB.beginStruct();
23242328
SB.setPacked(true);
23252329

2330+
ty.dump();
23262331
B.result(IGM, SB, genericSig);
23272332

23282333
IRGenMangler mangler;

0 commit comments

Comments
 (0)