Deleted Added
full compact
1376a1377
> O << '\n';
1840,1846c1841,1848
< O << MAI->getCommentString() << " SrcLine ";
< if (DLT.Scope) {
< DICompileUnit CU(DLT.Scope);
< if (!CU.isNull())
< O << CU.getFilename() << " ";
< }
< O << DLT.Line;
---
> O << MAI->getCommentString() << ' ';
> DIScope Scope(DLT.Scope);
> // Omit the directory, because it's likely to be long and uninteresting.
> if (!Scope.isNull())
> O << Scope.getFilename();
> else
> O << "<unknown>";
> O << ':' << DLT.Line;
1848c1850
< O << ":" << DLT.Col;
---
> O << ':' << DLT.Col;
1859a1862
> const MachineMemOperand *MMO;
1861a1865
> MMO = *MI.memoperands_begin();
1864c1868
< O << MAI->getCommentString() << " Reload";
---
> O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Reload";
1868c1872
< else if (TM.getInstrInfo()->hasLoadFromStackSlot(&MI, FI)) {
---
> else if (TM.getInstrInfo()->hasLoadFromStackSlot(&MI, MMO, FI)) {
1872c1876,1877
< O << MAI->getCommentString() << " Folded Reload";
---
> O << MAI->getCommentString() << ' '
> << MMO->getSize() << "-byte Folded Reload";
1877a1883
> MMO = *MI.memoperands_begin();
1880c1886
< O << MAI->getCommentString() << " Spill";
---
> O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Spill";
1884c1890
< else if (TM.getInstrInfo()->hasStoreToStackSlot(&MI, FI)) {
---
> else if (TM.getInstrInfo()->hasStoreToStackSlot(&MI, MMO, FI)) {
1888c1894,1895
< O << MAI->getCommentString() << " Folded Spill";
---
> O << MAI->getCommentString() << ' '
> << MMO->getSize() << "-byte Folded Spill";