Remove YAML/Native round-trip passes.
authorRui Ueyama <ruiu@google.com>
Fri, 20 Feb 2015 22:10:28 +0000 (22:10 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 20 Feb 2015 22:10:28 +0000 (22:10 +0000)
commit2c64aef35fc880d608dc5fc6e3a850d69caedfd6
treef1556c77f13280d5d07cf6bf8f67630929bf27a8
parent860660ea5e89a6593b6748a78840427019ab573a
Remove YAML/Native round-trip passes.

The round-trip passes were introduced in r193300. The intention of
the change was to make sure that LLD is capable of reading end
writing such file formats.

But that turned out to be yet another over-designed stuff that had
been slowing down everyday development.

The passes ran after the core linker and before the writer. If you
had an additional piece of information that needs to be passed from
front-end to the writer, you had to invent a way to save the data to
YAML/Native. These passes forced us to do that even if that data
was not needed to be represented neither in an object file nor in
an executable/DSO. It doesn't make sense. We don't need these passes.

http://reviews.llvm.org/D7480

llvm-svn: 230069
22 files changed:
lld/include/lld/Passes/RoundTripNativePass.h [deleted file]
lld/include/lld/Passes/RoundTripYAMLPass.h [deleted file]
lld/lib/CMakeLists.txt
lld/lib/Driver/CMakeLists.txt
lld/lib/Driver/Driver.cpp
lld/lib/Passes/CMakeLists.txt [deleted file]
lld/lib/Passes/Makefile [deleted file]
lld/lib/Passes/RoundTripNativePass.cpp [deleted file]
lld/lib/Passes/RoundTripYAMLPass.cpp [deleted file]
lld/lib/ReaderWriter/CMakeLists.txt
lld/lib/ReaderWriter/CoreLinkingContext.cpp
lld/lib/ReaderWriter/ELF/CMakeLists.txt
lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
lld/lib/ReaderWriter/ELF/Makefile
lld/lib/ReaderWriter/MachO/CMakeLists.txt
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lld/lib/ReaderWriter/PECOFF/CMakeLists.txt
lld/test/elf/Mips/pc23-range.test
lld/test/elf/roundtrip.test [deleted file]
lld/test/lit.cfg
lld/tools/lld/Makefile
lld/unittests/DriverTests/Makefile