summaryrefslogtreecommitdiffstats
path: root/lib/Driver/Action.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-05 07:29:57 +0000
committerEric Christopher <echristo@gmail.com>2013-02-05 07:29:57 +0000
commitc706c8e440abf61910c042380e19c67932998395 (patch)
treee1ad31e6b3fe68189ecfdaa8ad03bd251642cc3c /lib/Driver/Action.cpp
parent4f4e2af2643c1914c2e49ac6372f7c2c38616432 (diff)
Driver and option support for -gsplit-dwarf. This is a part of
the DWARF5 split dwarf proposal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Action.cpp')
-rw-r--r--lib/Driver/Action.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Driver/Action.cpp b/lib/Driver/Action.cpp
index 2b5bbee3db..29f7ad2993 100644
--- a/lib/Driver/Action.cpp
+++ b/lib/Driver/Action.cpp
@@ -33,6 +33,7 @@ const char *Action::getClassName(ActionClass AC) {
case LipoJobClass: return "lipo";
case DsymutilJobClass: return "dsymutil";
case VerifyJobClass: return "verify";
+ case SplitDebugJobClass: return "split-debug";
}
llvm_unreachable("invalid class");
@@ -119,3 +120,9 @@ void VerifyJobAction::anchor() {}
VerifyJobAction::VerifyJobAction(ActionList &Inputs, types::ID Type)
: JobAction(VerifyJobClass, Inputs, Type) {
}
+
+void SplitDebugJobAction::anchor() {}
+
+SplitDebugJobAction::SplitDebugJobAction(ActionList &Inputs, types::ID Type)
+ : JobAction(SplitDebugJobClass, Inputs, Type) {
+}