Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
What is the use case? Even with an empty module we at least get a module path entry. Hmm, we won't get a combined summary in that case either (with only entry being module path). Should this instead be changed to create the index if there is a module path entry (or in addition to checking flags)?
Comment Actions
I was thinking of addressing 'skip-module-by-distributed-backend' case. For instance see writeEmptyDistributedBuildOutputs:
if (SkipModule) { ModuleSummaryIndex Index(/*HaveGVs*/ false); Index.setSkipModuleByDistributedBackend(); WriteIndexToFile(Index, OS, nullptr); }
Comment Actions
LGTM. Ok makes sense, please update the comment to note that we check for non-empty flags too for that specific case.