[all-commits] [llvm/llvm-project] 9e3552: [lld-macho] Remove old macho darwin lld

Keith Smiley via All-commits all-commits at lists.llvm.org
Thu Dec 2 11:05:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e3552523ebd3385487e01e3e7af37b8c0efaf57
      https://github.com/llvm/llvm-project/commit/9e3552523ebd3385487e01e3e7af37b8c0efaf57
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M lld/CMakeLists.txt
    M lld/include/lld/Common/Driver.h
    M lld/include/lld/Core/Reference.h
    R lld/include/lld/ReaderWriter/MachOLinkingContext.h
    R lld/include/lld/ReaderWriter/YamlContext.h
    R lld/lib/CMakeLists.txt
    R lld/lib/Core/CMakeLists.txt
    R lld/lib/Core/DefinedAtom.cpp
    R lld/lib/Core/Error.cpp
    R lld/lib/Core/File.cpp
    R lld/lib/Core/LinkingContext.cpp
    R lld/lib/Core/Reader.cpp
    R lld/lib/Core/Resolver.cpp
    R lld/lib/Core/SymbolTable.cpp
    R lld/lib/Core/Writer.cpp
    R lld/lib/Driver/CMakeLists.txt
    R lld/lib/Driver/DarwinLdDriver.cpp
    R lld/lib/Driver/DarwinLdOptions.td
    R lld/lib/ReaderWriter/CMakeLists.txt
    R lld/lib/ReaderWriter/FileArchive.cpp
    R lld/lib/ReaderWriter/MachO/ArchHandler.cpp
    R lld/lib/ReaderWriter/MachO/ArchHandler.h
    R lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
    R lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
    R lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp
    R lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
    R lld/lib/ReaderWriter/MachO/Atoms.h
    R lld/lib/ReaderWriter/MachO/CMakeLists.txt
    R lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
    R lld/lib/ReaderWriter/MachO/DebugInfo.h
    R lld/lib/ReaderWriter/MachO/ExecutableAtoms.h
    R lld/lib/ReaderWriter/MachO/File.h
    R lld/lib/ReaderWriter/MachO/FlatNamespaceFile.h
    R lld/lib/ReaderWriter/MachO/GOTPass.cpp
    R lld/lib/ReaderWriter/MachO/LayoutPass.cpp
    R lld/lib/ReaderWriter/MachO/LayoutPass.h
    R lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
    R lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
    R lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
    R lld/lib/ReaderWriter/MachO/MachOPasses.h
    R lld/lib/ReaderWriter/MachO/ObjCPass.cpp
    R lld/lib/ReaderWriter/MachO/SectCreateFile.h
    R lld/lib/ReaderWriter/MachO/ShimPass.cpp
    R lld/lib/ReaderWriter/MachO/StubsPass.cpp
    R lld/lib/ReaderWriter/MachO/TLVPass.cpp
    R lld/lib/ReaderWriter/MachO/WriterMachO.cpp
    R lld/lib/ReaderWriter/YAML/CMakeLists.txt
    R lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
    M lld/test/CMakeLists.txt
    R lld/test/darwin/Inputs/native-and-mach-o.objtxt
    R lld/test/darwin/Inputs/native-and-mach-o2.objtxt
    R lld/test/darwin/cmdline-lto_library.objtxt
    R lld/test/darwin/cmdline-objc_gc.objtxt
    R lld/test/darwin/cmdline-objc_gc_compaction.objtxt
    R lld/test/darwin/cmdline-objc_gc_only.objtxt
    R lld/test/darwin/native-and-mach-o.objtxt
    R lld/test/mach-o/Inputs/DependencyDump.py
    R lld/test/mach-o/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
    R lld/test/mach-o/Inputs/PIE.yaml
    R lld/test/mach-o/Inputs/arm-interworking.yaml
    R lld/test/mach-o/Inputs/arm-shims.yaml
    R lld/test/mach-o/Inputs/arm64/libSystem.yaml
    R lld/test/mach-o/Inputs/armv7/libSystem.yaml
    R lld/test/mach-o/Inputs/bar.yaml
    R lld/test/mach-o/Inputs/cstring-sections.yaml
    R lld/test/mach-o/Inputs/exported_symbols_list.exp
    R lld/test/mach-o/Inputs/full.filelist
    R lld/test/mach-o/Inputs/got-order.yaml
    R lld/test/mach-o/Inputs/got-order2.yaml
    R lld/test/mach-o/Inputs/hello-world-arm64.yaml
    R lld/test/mach-o/Inputs/hello-world-armv6.yaml
    R lld/test/mach-o/Inputs/hello-world-armv7.yaml
    R lld/test/mach-o/Inputs/hello-world-x86.yaml
    R lld/test/mach-o/Inputs/hello-world-x86_64.yaml
    R lld/test/mach-o/Inputs/hw.raw_bytes
    R lld/test/mach-o/Inputs/interposing-section.yaml
    R lld/test/mach-o/Inputs/lazy-bind-x86_64-2.yaml
    R lld/test/mach-o/Inputs/lazy-bind-x86_64-3.yaml
    R lld/test/mach-o/Inputs/lazy-bind-x86_64.yaml
    R lld/test/mach-o/Inputs/lib-search-paths/usr/lib/libmyshared.dylib
    R lld/test/mach-o/Inputs/lib-search-paths/usr/lib/libmystatic.a
    R lld/test/mach-o/Inputs/lib-search-paths/usr/local/lib/file.o
    R lld/test/mach-o/Inputs/libbar.a
    R lld/test/mach-o/Inputs/libfoo.a
    R lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml
    R lld/test/mach-o/Inputs/order_file-basic.order
    R lld/test/mach-o/Inputs/partial.filelist
    R lld/test/mach-o/Inputs/re-exported-dylib-ordinal.yaml
    R lld/test/mach-o/Inputs/re-exported-dylib-ordinal2.yaml
    R lld/test/mach-o/Inputs/re-exported-dylib-ordinal3.yaml
    R lld/test/mach-o/Inputs/swift-version-1.yaml
    R lld/test/mach-o/Inputs/unwind-info-simple-arm64.yaml
    R lld/test/mach-o/Inputs/use-dylib-install-names.yaml
    R lld/test/mach-o/Inputs/use-simple-dylib.yaml
    R lld/test/mach-o/Inputs/write-final-sections.yaml
    R lld/test/mach-o/Inputs/wrong-arch-error.yaml
    R lld/test/mach-o/Inputs/x86/libSystem.yaml
    R lld/test/mach-o/Inputs/x86_64/libSystem.yaml
    R lld/test/mach-o/PIE.yaml
    R lld/test/mach-o/align_text.yaml
    R lld/test/mach-o/arm-interworking-movw.yaml
    R lld/test/mach-o/arm-interworking.yaml
    R lld/test/mach-o/arm-shims.yaml
    R lld/test/mach-o/arm-subsections-via-symbols.yaml
    R lld/test/mach-o/arm64-reloc-negDelta32-fixup.yaml
    R lld/test/mach-o/arm64-relocs-errors-delta64-offset.yaml
    R lld/test/mach-o/arm64-section-order.yaml
    R lld/test/mach-o/bind-opcodes.yaml
    R lld/test/mach-o/cstring-sections.yaml
    R lld/test/mach-o/data-in-code-load-command.yaml
    R lld/test/mach-o/data-only-dylib.yaml
    R lld/test/mach-o/dead-strip-globals.yaml
    R lld/test/mach-o/debug-syms.yaml
    R lld/test/mach-o/demangle.yaml
    R lld/test/mach-o/dependency_info.yaml
    R lld/test/mach-o/do-not-emit-unwind-fde-arm64.yaml
    R lld/test/mach-o/dso_handle.yaml
    R lld/test/mach-o/dylib-install-names.yaml
    R lld/test/mach-o/eh-frame-relocs-arm64.yaml
    R lld/test/mach-o/empty-sections.yaml
    R lld/test/mach-o/error-simulator-vs-macosx.yaml
    R lld/test/mach-o/exe-offsets.yaml
    R lld/test/mach-o/exe-segment-overlap.yaml
    R lld/test/mach-o/executable-exports.yaml
    R lld/test/mach-o/export-trie-order.yaml
    R lld/test/mach-o/exported_symbols_list-dylib.yaml
    R lld/test/mach-o/exported_symbols_list-obj.yaml
    R lld/test/mach-o/exported_symbols_list-undef.yaml
    R lld/test/mach-o/fat-archive.yaml
    R lld/test/mach-o/filelist.yaml
    R lld/test/mach-o/flat_namespace_undef_error.yaml
    R lld/test/mach-o/flat_namespace_undef_suppress.yaml
    R lld/test/mach-o/force_load-dylib.yaml
    R lld/test/mach-o/force_load-x86_64.yaml
    R lld/test/mach-o/framework-user-paths.yaml
    R lld/test/mach-o/function-starts-load-command.yaml
    R lld/test/mach-o/gcc_except_tab-got-arm64.yaml
    R lld/test/mach-o/got-order.yaml
    R lld/test/mach-o/hello-world-arm64.yaml
    R lld/test/mach-o/hello-world-armv6.yaml
    R lld/test/mach-o/hello-world-armv7.yaml
    R lld/test/mach-o/hello-world-x86.yaml
    R lld/test/mach-o/hello-world-x86_64.yaml
    R lld/test/mach-o/image-base.yaml
    R lld/test/mach-o/infer-arch.yaml
    R lld/test/mach-o/interposing-section.yaml
    R lld/test/mach-o/keep_private_externs.yaml
    R lld/test/mach-o/lazy-bind-x86_64.yaml
    R lld/test/mach-o/lc_segment_filesize.yaml
    R lld/test/mach-o/lib-search-paths.yaml
    R lld/test/mach-o/library-order.yaml
    R lld/test/mach-o/library-rescan.yaml
    R lld/test/mach-o/libresolve-bizarre-root-override.yaml
    R lld/test/mach-o/libresolve-multiple-syslibroots.yaml
    R lld/test/mach-o/libresolve-one-syslibroot.yaml
    R lld/test/mach-o/libresolve-simple.yaml
    R lld/test/mach-o/libresolve-user-paths.yaml
    R lld/test/mach-o/libresolve-z.yaml
    R lld/test/mach-o/lit.local.cfg
    R lld/test/mach-o/load-commands-size.yaml
    R lld/test/mach-o/mach_header-cpusubtype.yaml
    R lld/test/mach-o/mh_bundle_header.yaml
    R lld/test/mach-o/mh_dylib_header.yaml
    R lld/test/mach-o/objc-category-list-atom.yaml
    R lld/test/mach-o/objc-image-info-host-vs-simulator.yaml
    R lld/test/mach-o/objc-image-info-invalid-size.yaml
    R lld/test/mach-o/objc-image-info-invalid-version.yaml
    R lld/test/mach-o/objc-image-info-mismatched-swift-version.yaml
    R lld/test/mach-o/objc-image-info-pass-output.yaml
    R lld/test/mach-o/objc-image-info-simulator-vs-host.yaml
    R lld/test/mach-o/objc-image-info-unsupported-gc.yaml
    R lld/test/mach-o/objc_export_list.yaml
    R lld/test/mach-o/order_file-basic.yaml
    R lld/test/mach-o/parse-aliases.yaml
    R lld/test/mach-o/parse-arm-relocs.yaml
    R lld/test/mach-o/parse-cfstring32.yaml
    R lld/test/mach-o/parse-cfstring64.yaml
    R lld/test/mach-o/parse-compact-unwind32.yaml
    R lld/test/mach-o/parse-compact-unwind64.yaml
    R lld/test/mach-o/parse-data-in-code-armv7.yaml
    R lld/test/mach-o/parse-data-in-code-x86.yaml
    R lld/test/mach-o/parse-data-relocs-arm64.yaml
    R lld/test/mach-o/parse-data-relocs-x86_64.yaml
    R lld/test/mach-o/parse-data.yaml
    R lld/test/mach-o/parse-eh-frame-relocs-x86_64.yaml
    R lld/test/mach-o/parse-eh-frame-x86-anon.yaml
    R lld/test/mach-o/parse-eh-frame-x86-labeled.yaml
    R lld/test/mach-o/parse-eh-frame.yaml
    R lld/test/mach-o/parse-function.yaml
    R lld/test/mach-o/parse-initializers32.yaml
    R lld/test/mach-o/parse-initializers64.yaml
    R lld/test/mach-o/parse-literals-error.yaml
    R lld/test/mach-o/parse-literals.yaml
    R lld/test/mach-o/parse-non-lazy-pointers.yaml
    R lld/test/mach-o/parse-relocs-x86.yaml
    R lld/test/mach-o/parse-section-no-symbol.yaml
    R lld/test/mach-o/parse-tentative-defs.yaml
    R lld/test/mach-o/parse-text-relocs-arm64.yaml
    R lld/test/mach-o/parse-text-relocs-x86_64.yaml
    R lld/test/mach-o/parse-tlv-relocs-x86-64.yaml
    R lld/test/mach-o/re-exported-dylib-ordinal.yaml
    R lld/test/mach-o/rpath.yaml
    R lld/test/mach-o/run-tlv-pass-x86-64.yaml
    R lld/test/mach-o/sdk-version-error.yaml
    R lld/test/mach-o/sectalign.yaml
    R lld/test/mach-o/sectattrs.yaml
    R lld/test/mach-o/sectcreate.yaml
    R lld/test/mach-o/seg-protection-arm64.yaml
    R lld/test/mach-o/seg-protection-x86_64.yaml
    R lld/test/mach-o/source-version.yaml
    R lld/test/mach-o/stack-size.yaml
    R lld/test/mach-o/string-table.yaml
    R lld/test/mach-o/stub-link.s
    R lld/test/mach-o/subsections-via-symbols-default.yaml
    R lld/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml
    R lld/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml
    R lld/test/mach-o/unwind-info-simple-arm64.yaml
    R lld/test/mach-o/unwind-info-simple-x86_64.yaml
    R lld/test/mach-o/upward-dylib-load-command.yaml
    R lld/test/mach-o/upward-dylib-paths.yaml
    R lld/test/mach-o/usage.yaml
    R lld/test/mach-o/use-dylib.yaml
    R lld/test/mach-o/use-simple-dylib.yaml
    R lld/test/mach-o/version-min-load-command-object.yaml
    R lld/test/mach-o/version-min-load-command.yaml
    R lld/test/mach-o/write-final-sections.yaml
    R lld/test/mach-o/wrong-arch-error.yaml
    M lld/tools/lld/CMakeLists.txt
    M lld/tools/lld/lld.cpp
    R lld/unittests/CMakeLists.txt
    R lld/unittests/DriverTests/CMakeLists.txt
    R lld/unittests/DriverTests/DarwinLdDriverTest.cpp
    R lld/unittests/MachOTests/CMakeLists.txt
    R lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
    R lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
    R lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
    R lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
    R lld/unittests/MachOTests/empty_obj_x86_armv7.txt
    M llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn

  Log Message:
  -----------
  [lld-macho] Remove old macho darwin lld

During the llvm round table it was generally agreed that the newer macho
lld implementation is feature complete enough to replace the old
implementation entirely. This will reduce confusion for new users who
aren't aware of the history.

Differential Revision: https://reviews.llvm.org/D114842




More information about the All-commits mailing list