Revert "[llvm-cov] Add an -output-dir option for the show sub-command"

This reverts commit r273971. test/profile/instrprof-visibility.cpp is
failing because of an uncaught error in SafelyCloseFileDescriptor.

llvm-svn: 273978
This commit is contained in:
Vedant Kumar
2016-06-28 01:14:04 +00:00
parent b4d9503171
commit a48d9fe86a
8 changed files with 6 additions and 130 deletions

View File

@@ -37,15 +37,6 @@ unsigned getDividerWidth(const CoverageViewOptions &Opts) {
} // anonymous namespace
Expected<std::unique_ptr<raw_ostream>>
SourceCoverageViewText::createOutputFile(StringRef Path, bool InToplevel) {
return createOutputStream(getOptions(), Path, "txt", InToplevel);
}
void SourceCoverageViewText::closeOutputFile(std::unique_ptr<raw_ostream> OS) {
OS.get()->operator<<('\n');
}
void SourceCoverageViewText::renderSourceName(raw_ostream &OS) {
getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName()
<< ":\n";