@@ -308,22 +308,19 @@ class Driver {
308
308
// /
309
309
// / \param C The Compilation which this Job will eventually be part of
310
310
// / \param JA The Action for which a Job should be created
311
- // / \param OI The OutputInfo for which a Job should be created
312
311
// / \param OFM The OutputFileMap for which a Job should be created
313
- // / \param TC The tool chain which should be used to create the Job
314
312
// / \param AtTopLevel indicates whether or not this is a top-level Job
315
313
// / \param JobCache maps existing Action/ToolChain pairs to Jobs
316
314
// /
317
315
// / \returns a Job for the given Action/ToolChain pair
318
316
Job *buildJobsForAction (Compilation &C, const JobAction *JA,
319
- const OutputInfo &OI, const OutputFileMap *OFM,
320
- StringRef workingDirectory, const ToolChain &TC,
317
+ const OutputFileMap *OFM,
318
+ StringRef workingDirectory,
321
319
bool AtTopLevel, JobCacheMap &JobCache) const ;
322
320
323
321
private:
324
322
void computeMainOutput (Compilation &C, const JobAction *JA,
325
- const OutputInfo &OI, const OutputFileMap *OFM,
326
- const ToolChain &TC, bool AtTopLevel,
323
+ const OutputFileMap *OFM, bool AtTopLevel,
327
324
SmallVectorImpl<const Action *> &InputActions,
328
325
SmallVectorImpl<const Job *> &InputJobs,
329
326
const TypeToPathMap *OutputMap,
@@ -333,7 +330,7 @@ class Driver {
333
330
llvm::SmallString<128 > &Buf,
334
331
CommandOutput *Output) const ;
335
332
336
- void chooseSwiftModuleOutputPath (Compilation &C, const OutputInfo &OI,
333
+ void chooseSwiftModuleOutputPath (Compilation &C,
337
334
const OutputFileMap *OFM,
338
335
const TypeToPathMap *OutputMap,
339
336
StringRef workingDirectory,
@@ -343,39 +340,44 @@ class Driver {
343
340
const TypeToPathMap *OutputMap,
344
341
StringRef workingDirectory,
345
342
CommandOutput *Output) const ;
343
+
344
+ void chooseTextualInterfacePath (Compilation &C, const JobAction *JA,
345
+ StringRef workingDirectory,
346
+ llvm::SmallString<128 > &buffer,
347
+ CommandOutput *output) const ;
348
+
346
349
void chooseRemappingOutputPath (Compilation &C, const TypeToPathMap *OutputMap,
347
350
CommandOutput *Output) const ;
348
351
349
352
void chooseSerializedDiagnosticsPath (Compilation &C, const JobAction *JA,
350
- const OutputInfo &OI,
351
353
const TypeToPathMap *OutputMap,
352
354
StringRef workingDirectory,
353
355
CommandOutput *Output) const ;
354
356
355
- void chooseDependenciesOutputPaths (Compilation &C, const OutputInfo &OI,
357
+ void chooseDependenciesOutputPaths (Compilation &C,
356
358
const TypeToPathMap *OutputMap,
357
359
StringRef workingDirectory,
358
360
llvm::SmallString<128 > &Buf,
359
361
CommandOutput *Output) const ;
360
362
361
- void chooseOptimizationRecordPath (Compilation &C, const OutputInfo &OI,
363
+ void chooseOptimizationRecordPath (Compilation &C,
362
364
StringRef workingDirectory,
363
365
llvm::SmallString<128 > &Buf,
364
366
CommandOutput *Output) const ;
365
367
366
- void chooseObjectiveCHeaderOutputPath (Compilation &C, const OutputInfo &OI,
368
+ void chooseObjectiveCHeaderOutputPath (Compilation &C,
367
369
const TypeToPathMap *OutputMap,
368
370
StringRef workingDirectory,
369
371
CommandOutput *Output) const ;
370
372
371
- void chooseLoadedModuleTracePath (Compilation &C, const OutputInfo &OI,
373
+ void chooseLoadedModuleTracePath (Compilation &C,
372
374
StringRef workingDirectory,
373
375
llvm::SmallString<128 > &Buf,
374
376
CommandOutput *Output) const ;
375
377
376
- void chooseTBDPath (Compilation &C, const OutputInfo &OI ,
377
- const TypeToPathMap *OutputMap, StringRef workingDirectory ,
378
- llvm::SmallString< 128 > &Buf, CommandOutput *Output) const ;
378
+ void chooseTBDPath (Compilation &C, const TypeToPathMap *OutputMap ,
379
+ StringRef workingDirectory, llvm::SmallString< 128 > &Buf ,
380
+ CommandOutput *Output) const ;
379
381
380
382
public:
381
383
// / Handle any arguments which should be treated before building actions or
0 commit comments