Reland D75382 "[lld] Initial commit for new Mach-O backend"
authorFangrui Song <maskray@google.com>
Thu, 2 Apr 2020 18:54:05 +0000 (11:54 -0700)
committerFangrui Song <maskray@google.com>
Thu, 2 Apr 2020 19:03:43 +0000 (12:03 -0700)
commit6acd3003755db3944f7fcbea7542bd574a41c0a0
treef6787b8e60d8a2beb544153e95c1027fc401d11a
parentab11b9eefa16661017c2c7b3b34c46b069f43fb7
Reland D75382 "[lld] Initial commit for new Mach-O backend"

With a fix for http://lab.llvm.org:8011/builders/clang-cmake-armv8-lld/builds/3636

Also trims some unneeded dependencies.
38 files changed:
lld/CMakeLists.txt
lld/MachO/Arch/X86_64.cpp [new file with mode: 0644]
lld/MachO/CMakeLists.txt [new file with mode: 0644]
lld/MachO/Config.h [new file with mode: 0644]
lld/MachO/Driver.cpp [new file with mode: 0644]
lld/MachO/Driver.h [new file with mode: 0644]
lld/MachO/InputFiles.cpp [new file with mode: 0644]
lld/MachO/InputFiles.h [new file with mode: 0644]
lld/MachO/InputSection.cpp [new file with mode: 0644]
lld/MachO/InputSection.h [new file with mode: 0644]
lld/MachO/Options.td [new file with mode: 0644]
lld/MachO/OutputSegment.cpp [new file with mode: 0644]
lld/MachO/OutputSegment.h [new file with mode: 0644]
lld/MachO/SymbolTable.cpp [new file with mode: 0644]
lld/MachO/SymbolTable.h [new file with mode: 0644]
lld/MachO/Symbols.cpp [new file with mode: 0644]
lld/MachO/Symbols.h [new file with mode: 0644]
lld/MachO/Target.cpp [new file with mode: 0644]
lld/MachO/Target.h [new file with mode: 0644]
lld/MachO/Writer.cpp [new file with mode: 0644]
lld/MachO/Writer.h [new file with mode: 0644]
lld/include/lld/Common/Driver.h
lld/test/MachO/alignment-too-large.yaml [new file with mode: 0644]
lld/test/MachO/arch.s [new file with mode: 0644]
lld/test/MachO/duplicate-symbol.s [new file with mode: 0644]
lld/test/MachO/entry-symbol.s [new file with mode: 0644]
lld/test/MachO/invalid-executable.s [new file with mode: 0644]
lld/test/MachO/load-commands.s [new file with mode: 0644]
lld/test/MachO/no-such-file.s [new file with mode: 0644]
lld/test/MachO/relocations.s [new file with mode: 0644]
lld/test/MachO/section-headers.s [new file with mode: 0644]
lld/test/MachO/segments.s [new file with mode: 0644]
lld/test/MachO/silent-ignore.test [new file with mode: 0644]
lld/test/MachO/text-segment.s [new file with mode: 0644]
lld/tools/lld/CMakeLists.txt
lld/tools/lld/lld.cpp
llvm/utils/gn/secondary/lld/MachO/BUILD.gn [new file with mode: 0644]
llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn