@@ -277,7 +277,7 @@ class Job {
277
277
// / Argument vector containing a single argument pointing to the response file
278
278
// / path with the '@' prefix.
279
279
// / The argument string must be kept alive as long as the Job is alive.
280
- llvm::opt::ArgStringList ResponseFileArg;
280
+ const char * ResponseFileArg;
281
281
282
282
// / The modification time of the main input file, if any.
283
283
llvm::sys::TimePoint<> InputModTime = llvm::sys::TimePoint<>::max();
@@ -291,14 +291,14 @@ class Job {
291
291
EnvironmentVector ExtraEnvironment = {},
292
292
std::vector<FilelistInfo> Infos = {},
293
293
const char *ResponseFilePath = nullptr ,
294
- llvm::opt::ArgStringList ResponseFileArg = {} )
294
+ const char * ResponseFileArg = nullptr )
295
295
: SourceAndCondition(&Source, Condition::Always),
296
296
Inputs(std::move(Inputs)), Output(std::move(Output)),
297
297
Executable(Executable), Arguments(std::move(Arguments)),
298
298
ExtraEnvironment(std::move(ExtraEnvironment)),
299
299
FilelistFileInfos(std::move(Infos)),
300
300
ResponseFilePath(ResponseFilePath),
301
- ResponseFileArg(std::move( ResponseFileArg) ) {}
301
+ ResponseFileArg(ResponseFileArg) {}
302
302
303
303
virtual ~Job ();
304
304
@@ -308,7 +308,7 @@ class Job {
308
308
309
309
const char *getExecutable () const { return Executable; }
310
310
const llvm::opt::ArgStringList &getArguments () const { return Arguments; }
311
- const llvm::opt::ArgStringList &getResponseFileArg () const { return ResponseFileArg; }
311
+ const char * const &getResponseFileArg () const { return ResponseFileArg; }
312
312
ArrayRef<FilelistInfo> getFilelistInfos () const { return FilelistFileInfos; }
313
313
314
314
ArrayRef<const Job *> getInputs () const { return Inputs; }
0 commit comments