mirror of https://github.com/microsoft/clang.git
Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs.
It was causing trouble with the GCC bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2be8d26c6c
commit
4920d32289
|
@ -138,11 +138,11 @@ public:
|
|||
/// tool chain specific translations applied.
|
||||
/// \param LinkingOutput If this output will eventually feed the
|
||||
/// linker, then this is the final output name of the linked image.
|
||||
virtual void ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const;
|
||||
virtual void ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const;
|
||||
};
|
||||
|
||||
} // end namespace driver
|
||||
|
|
|
@ -3199,7 +3199,7 @@ InputInfo Driver::BuildJobsForActionNoCache(
|
|||
C.getArgsForToolChain(TC, BoundArch, JA->getOffloadingDeviceKind()),
|
||||
LinkingOutput);
|
||||
else
|
||||
T->ConstructJob(
|
||||
T->ConstructJobMultipleOutputs(
|
||||
C, *JA, UnbundlingResults, InputInfos,
|
||||
C.getArgsForToolChain(TC, BoundArch, JA->getOffloadingDeviceKind()),
|
||||
LinkingOutput);
|
||||
|
|
|
@ -23,11 +23,11 @@ Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC,
|
|||
Tool::~Tool() {
|
||||
}
|
||||
|
||||
void Tool::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const {
|
||||
void Tool::ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const {
|
||||
assert(Outputs.size() == 1 && "Expected only one output by default!");
|
||||
ConstructJob(C, JA, Outputs.front(), Inputs, TCArgs, LinkingOutput);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7133,11 +7133,10 @@ void OffloadBundler::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
CmdArgs, None));
|
||||
}
|
||||
|
||||
void OffloadBundler::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const {
|
||||
void OffloadBundler::ConstructJobMultipleOutputs(
|
||||
Compilation &C, const JobAction &JA, const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const {
|
||||
// The version with multiple outputs is expected to refer to a unbundling job.
|
||||
auto &UA = cast<OffloadUnbundlingJobAction>(JA);
|
||||
|
||||
|
|
|
@ -148,10 +148,11 @@ public:
|
|||
const InputInfo &Output, const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const override;
|
||||
void ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs, const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const override;
|
||||
void ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
|
||||
const InputInfoList &Outputs,
|
||||
const InputInfoList &Inputs,
|
||||
const llvm::opt::ArgList &TCArgs,
|
||||
const char *LinkingOutput) const override;
|
||||
};
|
||||
|
||||
/// \brief Base class for all GNU tools that provide the same behavior when
|
||||
|
|
Loading…
Reference in New Issue