llvm-project/lld/lib
Rui Ueyama 0076215b88 MachO: Move LayoutPass to MachO directory.
The real user of the LayoutPass is now only Mach-O, so move that
pass out of the common directory to Mach-O directory.

"Core" architecture were using the LayoutPass. I modified that
to use a simple OrderPass. I think no one actually have authority
what feature should be in Core and what's not, but I believe the
LayoutPass is not very suitable for Core. Before more code starts
depending on the complex pass, it's better to remove that from
Core.

I could have simplified that pass because Mach-O is the only user
of the LayoutPass. For example, the second parameter of the
LayoutPass constructor can be converted from optional to mandatory.
I didn't do that in this patch to keep it simple. I'll do in a
followup patch.

http://reviews.llvm.org/D7311

llvm-svn: 228341
2015-02-05 20:05:33 +00:00
..
Config add_lld_library -> add_llvm_library 2015-01-21 21:26:27 +00:00
Core Style cleanup in compareByPosition(). 2015-02-04 00:44:52 +00:00
Driver ELF: Support INPUT linker script directive 2015-02-03 23:00:19 +00:00
Passes MachO: Move LayoutPass to MachO directory. 2015-02-05 20:05:33 +00:00
ReaderWriter MachO: Move LayoutPass to MachO directory. 2015-02-05 20:05:33 +00:00
CMakeLists.txt Revert "Add support library." 2014-11-11 00:40:36 +00:00
Makefile Revert "Add support library." 2014-11-11 00:40:36 +00:00