Skip to content

Commit 3919ec0

Browse files
committed
[LiveIntervals] Add function name to debug output header.
1 parent 67e6a37 commit 3919ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/LiveIntervals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void LiveIntervals::analyze(MachineFunction &fn) {
179179
}
180180

181181
void LiveIntervals::print(raw_ostream &OS) const {
182-
OS << "********** INTERVALS **********\n";
182+
OS << "********** INTERVALS for function " << MF->getName() << '\n';
183183

184184
// Dump the regunits.
185185
for (unsigned Unit = 0, UnitE = RegUnitRanges.size(); Unit != UnitE; ++Unit)

0 commit comments

Comments
 (0)