[llvm-cov] Don't copy stylesheets into index files
Just link in the stylesheet from the toplevel dir of the report. llvm-svn: 276468
This commit is contained in:
@@ -247,7 +247,8 @@ Error CoveragePrinterHTML::createIndexFile(ArrayRef<StringRef> SourceFiles) {
|
||||
raw_ostream &OSRef = *OS.get();
|
||||
|
||||
// Emit a table containing links to reports for each file in the covmapping.
|
||||
emitPrelude(OSRef);
|
||||
assert(Opts.hasOutputDirectory() && "No output directory for index file");
|
||||
emitPrelude(OSRef, getPathToStyle(""));
|
||||
OSRef << BeginSourceNameDiv << "Index" << EndSourceNameDiv;
|
||||
OSRef << BeginTable;
|
||||
for (StringRef SF : SourceFiles) {
|
||||
|
||||
Reference in New Issue
Block a user