calls were originally put in place because errs() at one time was
not unbuffered, and these print routines are commonly used with errs()
for debugging. However, errs() is now properly unbuffered, so the
flush calls are no longer needed. This significantly reduces the
number of write(2) calls for regular asm printing when there are many
small functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78137
91177308-0d34-0410-b5e6-
96231b3b80d8
// Emit post-function debug information.
DW->EndFunction(&MF);
- O.flush();
-
return false;
}
if (TAI->hasDotTypeDotSizeDirective())
O << "\t.size\t" << CurrentFnName << ", .-" << CurrentFnName << '\n';
- O.flush();
-
// We didn't modify anything
return false;
}
// Emit post-function debug information.
DW->EndFunction(&MF);
- O.flush();
-
// We didn't modify anything.
return false;
}
// Print out jump tables referenced by the function.
EmitJumpTableInfo(MF.getJumpTableInfo(), MF);
- O.flush();
-
// We didn't modify anything
return false;
}
// Print out jump tables referenced by the function.
EmitJumpTableInfo(MF.getJumpTableInfo(), MF);
- O.flush();
-
// We didn't modify anything.
return false;
}
O << CurrentFnName << "\tendp\n";
- O.flush();
-
// We didn't modify anything.
return false;
}