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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user