llvm-project/lld/test
Nick Kledzik 635f9c7158 [mach-o] Let darwin driver infer arch from .o files if -arch not used.
Mach-O has a "fat" (or "universal") variant where the same contents built for
different architectures are concatenated into one file with a table-of-contents
header at the start.  But this leaves a dilemma for the linker - which
architecture to use.

Normally, the linker command line -arch is used to force which slice of any fat
files are used.  The clang compiler always passes -arch to the linker when
invoking it.  But some Makefiles invoke the linker directly and don’t specify
the -arch option.  For those cases, the linker scans all input files in command
line order and finds the first non-fat object file.  Whatever architecture it
is becomes the architecture for the link.

llvm-svn: 217189
2014-09-04 20:08:30 +00:00
..
Driver [ELF] Fix the bug -- LLD crashes if the --whole-archive option 2014-06-10 13:43:13 +00:00
LinkerScript [ELF] Implement parsing `-l` prefixed items in the `GROUP` linker script command. 2014-07-15 17:17:30 +00:00
Unit [lit] Python 3. 2014-03-26 00:53:48 +00:00
core Move GOTPass and StubsPass from Core to MachO 2014-07-09 21:04:24 +00:00
darwin [mach-o] refactor KindHandler into ArchHandler and simplify passes. 2014-07-16 19:49:02 +00:00
elf [AArch64] Initial ELF/AArch64 Support 2014-08-13 13:16:38 +00:00
mach-o [mach-o] Let darwin driver infer arch from .o files if -arch not used. 2014-09-04 20:08:30 +00:00
pecoff [PECOFF] Fix AMD64_REL_[1-5] and AMD64_SECTION relocations 2014-08-29 20:33:27 +00:00
CMakeLists.txt Add missing dependency to macho-dump. 2014-07-02 18:16:31 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
lit.cfg XFAIL the ARM test when we don't have this target. 2014-07-31 19:02:10 +00:00
lit.site.cfg.in [lit] Python 3. 2014-03-26 00:53:48 +00:00