Merge DarwinLdDriver and Driver.
authorRui Ueyama <ruiu@google.com>
Wed, 2 Mar 2016 19:08:05 +0000 (19:08 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 2 Mar 2016 19:08:05 +0000 (19:08 +0000)
commita453c0a5ade6c96e8f95b845019ca20dbe7eb531
tree19c6b592d61cc1d9e5ee9b488568f99b6bad0ba6
parent515025522bc8d4d57211a78155212bd464574773
Merge DarwinLdDriver and Driver.

Now that DarwinLdDriver is the only derived class of Driver.
This patch merges them and actually removed the class because
they can now just be non-member functions. This change simplifies
a common header, Driver.h.

http://reviews.llvm.org/D17788

llvm-svn: 262502
lld/COFF/Driver.cpp
lld/COFF/Driver.h
lld/ELF/Driver.cpp
lld/ELF/Driver.h
lld/include/lld/Driver/Driver.h
lld/lib/Driver/CMakeLists.txt
lld/lib/Driver/DarwinLdDriver.cpp
lld/lib/Driver/Driver.cpp [deleted file]
lld/tools/lld/lld.cpp
lld/unittests/DriverTests/DarwinLdDriverTest.cpp