File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,9 @@ FrontendInputsAndOutputs::getRequiredUniquePrimaryInput() const {
124
124
}
125
125
126
126
std::string FrontendInputsAndOutputs::getStatsFileMangledInputName () const {
127
- // FIXME: "batch" should probably be some concatenation of all the primary
128
- // input names, in order to keep the stats file names unique. (Or perhaps just
129
- // the first primary?)
130
- return isWholeModule ()
131
- ? " all"
132
- : primaryInputCount () == 1 ? firstPrimaryInput ().file () : " batch" ;
127
+ // Use the first primary, even if there are multiple primaries.
128
+ // That's enough to keep the file names unique.
129
+ return isWholeModule () ? " all" : firstPrimaryInput ().file ();
133
130
}
134
131
135
132
bool FrontendInputsAndOutputs::isInputPrimary (StringRef file) const {
You can’t perform that action at this time.
0 commit comments