Skip to content

Commit 9e2123b

Browse files
committed
IRGen: Fix some formatting in an assertion regarding on-stack pack cleanups
1 parent 88c76aa commit 9e2123b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2712,20 +2712,20 @@ void IRGenSILFunction::visitSILBasicBlock(SILBasicBlock *BB) {
27122712
llvm::errs()
27132713
<< "Instruction missing on-stack pack metadata cleanups!\n";
27142714
I.print(llvm::errs());
2715-
llvm::errs() << "\n In function";
2715+
llvm::errs() << "\n In function:\n";
27162716
CurSILFn->print(llvm::errs());
2717-
llvm::errs() << "Allocated the following on-stack pack metadata:";
2717+
llvm::errs() << "Allocated the following on-stack pack metadata:\n";
27182718
for (auto pair : OutstandingStackPackAllocs) {
27192719
StackAddress addr;
27202720
llvm::Value *shape;
27212721
uint8_t kind;
27222722
std::tie(addr, shape, kind) = pair;
27232723
switch ((GenericRequirement::Kind)kind) {
27242724
case GenericRequirement::Kind::MetadataPack:
2725-
llvm::errs() << "Metadata Pack: ";
2725+
llvm::errs() << "- Metadata Pack: ";
27262726
break;
27272727
case GenericRequirement::Kind::WitnessTablePack:
2728-
llvm::errs() << "Witness Table Pack: ";
2728+
llvm::errs() << "- Witness Table Pack: ";
27292729
break;
27302730
default:
27312731
llvm_unreachable("bad requirement in stack pack alloc");

0 commit comments

Comments
 (0)