[PATCH] LLD: Remove YAML/Native round-trip passes
Rui Ueyama
ruiu at google.com
Fri Feb 6 18:39:25 PST 2015
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
Files:
include/lld/Passes/RoundTripNativePass.h
include/lld/Passes/RoundTripYAMLPass.h
lib/CMakeLists.txt
lib/Driver/CMakeLists.txt
lib/Driver/Driver.cpp
lib/Passes/CMakeLists.txt
lib/Passes/Makefile
lib/Passes/RoundTripNativePass.cpp
lib/Passes/RoundTripYAMLPass.cpp
lib/ReaderWriter/CMakeLists.txt
lib/ReaderWriter/CoreLinkingContext.cpp
lib/ReaderWriter/ELF/CMakeLists.txt
lib/ReaderWriter/ELF/ELFLinkingContext.cpp
lib/ReaderWriter/ELF/Makefile
lib/ReaderWriter/MachO/CMakeLists.txt
lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lib/ReaderWriter/PECOFF/CMakeLists.txt
test/elf/Mips/pc23-range.test
test/elf/roundtrip.test
test/lit.cfg
tools/lld/Makefile
unittests/DriverTests/Makefile
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7480.19525.patch
Type: text/x-patch
Size: 15278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150207/5b6c52c2/attachment.bin>
More information about the llvm-commits
mailing list