Skip to content

Commit 2535ef0

Browse files
committed
[region-isolation] When dumping info for send never sendable, dump the full one line logging of the isolation instead of just the diagnostics.
1 parent 2dd1ef2 commit 2535ef0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Mandatory/TransferNonSendable.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ struct DiagnosticEvaluator final
22162216
<< " Rep: "
22172217
<< *info->getValueMap().getRepresentative(transferredVal)
22182218
<< " Dynamic Isolation Region: ";
2219-
isolationRegionInfo.printForDiagnostics(llvm::dbgs());
2219+
isolationRegionInfo.printForOneLineLogging(llvm::dbgs());
22202220
llvm::dbgs() << '\n');
22212221
auto *self = const_cast<DiagnosticEvaluator *>(this);
22222222
auto nonTransferrableValue =
@@ -2236,7 +2236,7 @@ struct DiagnosticEvaluator final
22362236
<< " Rep: "
22372237
<< *info->getValueMap().getRepresentative(inoutSendingVal)
22382238
<< " Dynamic Isolation Region: ";
2239-
isolationRegionInfo.printForDiagnostics(llvm::dbgs());
2239+
isolationRegionInfo.printForOneLineLogging(llvm::dbgs());
22402240
llvm::dbgs() << '\n');
22412241
auto *self = const_cast<DiagnosticEvaluator *>(this);
22422242
auto nonTransferrableValue =
@@ -2257,7 +2257,7 @@ struct DiagnosticEvaluator final
22572257
<< " Rep: "
22582258
<< *info->getValueMap().getRepresentative(transferredVal)
22592259
<< " Dynamic Isolation Region: ";
2260-
isolationRegionInfo.printForDiagnostics(llvm::dbgs());
2260+
isolationRegionInfo.printForOneLineLogging(llvm::dbgs());
22612261
llvm::dbgs() << '\n');
22622262

22632263
auto *self = const_cast<DiagnosticEvaluator *>(this);

0 commit comments

Comments
 (0)