Re-commit r225674: Convert other drivers to use WrapperNode.
authorRui Ueyama <ruiu@google.com>
Thu, 15 Jan 2015 04:34:31 +0000 (04:34 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 15 Jan 2015 04:34:31 +0000 (04:34 +0000)
commitdf230b21e3c74b0a056db843978500b312f36025
tree724728d9f1f973fa796d2e1fef632b6a6260e0f5
parent6725a83e84a5e6e6ebc8db6fe9199a431e045d79
Re-commit r225674: Convert other drivers to use WrapperNode.

The original commit had an issue with Mac OS dylib files. It didn't
handle fat binary dylib files correctly. This patch includes a fix.
A test for that case has already been committed in r225764.

llvm-svn: 226123
35 files changed:
lld/docs/Readers.rst
lld/include/lld/Core/ArchiveLibraryFile.h
lld/include/lld/Core/File.h
lld/include/lld/Driver/DarwinInputGraph.h [deleted file]
lld/include/lld/Driver/Driver.h
lld/include/lld/Driver/GnuLdInputGraph.h [deleted file]
lld/include/lld/Driver/WinLinkInputGraph.h [deleted file]
lld/include/lld/ReaderWriter/ELFLinkingContext.h
lld/include/lld/ReaderWriter/MachOLinkingContext.h
lld/include/lld/ReaderWriter/Reader.h
lld/lib/Driver/CMakeLists.txt
lld/lib/Driver/CoreDriver.cpp
lld/lib/Driver/DarwinInputGraph.cpp [deleted file]
lld/lib/Driver/DarwinLdDriver.cpp
lld/lib/Driver/Driver.cpp
lld/lib/Driver/GnuLdDriver.cpp
lld/lib/Driver/GnuLdInputGraph.cpp [deleted file]
lld/lib/Driver/WinLinkDriver.cpp
lld/lib/Driver/WinLinkInputGraph.cpp [deleted file]
lld/lib/Passes/RoundTripNativePass.cpp
lld/lib/Passes/RoundTripYAMLPass.cpp
lld/lib/ReaderWriter/ELF/ELFReader.h
lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h
lld/lib/ReaderWriter/FileArchive.cpp
lld/lib/ReaderWriter/MachO/ExecutableAtoms.hpp
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
lld/lib/ReaderWriter/Native/ReaderNative.cpp
lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.cpp
lld/lib/ReaderWriter/Reader.cpp
lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
lld/test/Driver/libsearch-inputGraph.test [deleted file]
lld/unittests/DriverTests/WinLinkDriverTest.cpp