diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-01-22 21:31:48 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-01-22 21:31:48 +0000 | 
| commit | a7dea1671b87c07d2d266f836bfa8b58efc7c134 (patch) | |
| tree | ff67344b3b18fc14e0cec322849afb4e3b94ea56 /contrib/llvm-project/clang/lib/Driver/Action.cpp | |
| parent | 5c713029ff7939f90b6f96df914953e758855a7f (diff) | |
| parent | 519fc96c475680de2cc49e7811dbbfadb912cbcc (diff) | |
Notes
Diffstat (limited to 'contrib/llvm-project/clang/lib/Driver/Action.cpp')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Driver/Action.cpp | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Driver/Action.cpp b/contrib/llvm-project/clang/lib/Driver/Action.cpp index 47b03f6643b8..0eb4c7257e7a 100644 --- a/contrib/llvm-project/clang/lib/Driver/Action.cpp +++ b/contrib/llvm-project/clang/lib/Driver/Action.cpp @@ -31,6 +31,7 @@ const char *Action::getClassName(ActionClass AC) {    case CompileJobClass: return "compiler";    case BackendJobClass: return "backend";    case AssembleJobClass: return "assembler"; +  case IfsMergeJobClass: return "interface-stub-merger";    case LinkJobClass: return "linker";    case LipoJobClass: return "lipo";    case DsymutilJobClass: return "dsymutil"; @@ -40,6 +41,8 @@ const char *Action::getClassName(ActionClass AC) {      return "clang-offload-bundler";    case OffloadUnbundlingJobClass:      return "clang-offload-unbundler"; +  case OffloadWrapperJobClass: +    return "clang-offload-wrapper";    }    llvm_unreachable("invalid class"); @@ -357,6 +360,11 @@ void AssembleJobAction::anchor() {}  AssembleJobAction::AssembleJobAction(Action *Input, types::ID OutputType)      : JobAction(AssembleJobClass, Input, OutputType) {} +void IfsMergeJobAction::anchor() {} + +IfsMergeJobAction::IfsMergeJobAction(ActionList &Inputs, types::ID Type) +    : JobAction(IfsMergeJobClass, Inputs, Type) {} +  void LinkJobAction::anchor() {}  LinkJobAction::LinkJobAction(ActionList &Inputs, types::ID Type) @@ -401,3 +409,9 @@ void OffloadUnbundlingJobAction::anchor() {}  OffloadUnbundlingJobAction::OffloadUnbundlingJobAction(Action *Input)      : JobAction(OffloadUnbundlingJobClass, Input, Input->getType()) {} + +void OffloadWrapperJobAction::anchor() {} + +OffloadWrapperJobAction::OffloadWrapperJobAction(ActionList &Inputs, +                                                 types::ID Type) +  : JobAction(OffloadWrapperJobClass, Inputs, Type) {}  | 
