Driver: Add name to Tool (for testing/debugging) and move GCC_* tools
into gcc:: namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67120 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Tool.cpp b/lib/Driver/Tool.cpp
index 090418e..6f6589a 100644
--- a/lib/Driver/Tool.cpp
+++ b/lib/Driver/Tool.cpp
@@ -11,7 +11,8 @@
using namespace clang::driver;
-Tool::Tool(const ToolChain &TC) : TheToolChain(TC) {
+Tool::Tool(const char *_Name, const ToolChain &TC) : Name(_Name),
+ TheToolChain(TC) {
}
Tool::~Tool() {