diff options
author | Eric Christopher <echristo@apple.com> | 2011-08-23 17:56:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-08-23 17:56:55 +0000 |
commit | f857186fd1995b34185d063a29b11ad4f948519f (patch) | |
tree | 00f28f2be0134e6adc866b37be56aaaa2d040d5f /lib/Driver/Action.cpp | |
parent | 5033be1b3a6f1d1c1ab9b2d284267c8f6f531f2e (diff) |
Add support for a verifier to the driver. Currently only verifies debug
output on darwin so is hard coded there.
As a note this will need a little bit of refactoring in the class
hierarchy to separate it out for different verifiers based on input type.
Fixes rdar://8256258.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Action.cpp')
-rw-r--r-- | lib/Driver/Action.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Driver/Action.cpp b/lib/Driver/Action.cpp index 549ce0a7f4..ac95446e5b 100644 --- a/lib/Driver/Action.cpp +++ b/lib/Driver/Action.cpp @@ -31,6 +31,7 @@ const char *Action::getClassName(ActionClass AC) { case LinkJobClass: return "linker"; case LipoJobClass: return "lipo"; case DsymutilJobClass: return "dsymutil"; + case VerifyJobClass: return "verify"; } assert(0 && "invalid class"); @@ -84,3 +85,7 @@ LipoJobAction::LipoJobAction(ActionList &Inputs, types::ID Type) DsymutilJobAction::DsymutilJobAction(ActionList &Inputs, types::ID Type) : JobAction(DsymutilJobClass, Inputs, Type) { } + +VerifyJobAction::VerifyJobAction(ActionList &Inputs, types::ID Type) + : JobAction(VerifyJobClass, Inputs, Type) { +} |