Skip to content

Commit 3050916

Browse files
authored
Merge pull request swiftlang#76982 from gottesmm/pr-635c4050850f061c438b2dc1c396806e8754666c
When printing logging, dump out the whole function.
2 parents 249831f + 9a6090f commit 3050916

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lib/SILOptimizer/Analysis/RegionAnalysis.cpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,14 +1495,15 @@ class PartitionOpTranslator {
14951495

14961496
REGIONBASEDISOLATION_LOG(
14971497
llvm::dbgs()
1498-
<< PER_FUNCTION_SEP_STR
1499-
<< "Beginning processing: " << function->getName() << '\n'
1500-
<< "Demangled: "
1501-
<< Demangle::demangleSymbolAsString(
1502-
function->getName(),
1503-
Demangle::DemangleOptions::SimplifiedUIDemangleOptions())
1504-
<< '\n'
1505-
<< PER_FUNCTION_SEP_STR);
1498+
<< PER_FUNCTION_SEP_STR
1499+
<< "Beginning processing: " << function->getName() << '\n'
1500+
<< "Demangled: "
1501+
<< Demangle::demangleSymbolAsString(
1502+
function->getName(),
1503+
Demangle::DemangleOptions::SimplifiedUIDemangleOptions())
1504+
<< '\n'
1505+
<< PER_FUNCTION_SEP_STR << "Dump:\n";
1506+
function->print(llvm::dbgs()));
15061507

15071508
gatherFlowInsensitiveInformationBeforeDataflow();
15081509

0 commit comments

Comments
 (0)