[all-commits] [llvm/llvm-project] 3d5e50: [lld-macho][nfc] Clean up tests

Jez Ng via All-commits all-commits at lists.llvm.org
Mon May 10 12:46:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d5e5066f1af50ea622d136e9543aedae178c8e5
      https://github.com/llvm/llvm-project/commit/3d5e5066f1af50ea622d136e9543aedae178c8e5
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M lld/test/MachO/U-dynamic-lookup.s
    M lld/test/MachO/adhoc-codesign.s
    M lld/test/MachO/dependency-info.s
    M lld/test/MachO/flat-namespace.s
    M lld/test/MachO/invalid/undefined-symbol.s
    M lld/test/MachO/lc-linker-option.ll
    M lld/test/MachO/sub-library.s
    M lld/test/MachO/t.s
    M lld/test/MachO/u.s
    M lld/test/MachO/why-load.s

  Log Message:
  -----------
  [lld-macho][nfc] Clean up tests

* Remove unnecessary `rm -rf %t`s
* Have lc-linker-option.ll use the right comment marker


  Commit: 2516b0b5261d5f1fe7cfe357550a826f88fc68b7
      https://github.com/llvm/llvm-project/commit/2516b0b5261d5f1fe7cfe357550a826f88fc68b7
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/SymbolTable.h
    M lld/MachO/Writer.cpp
    M lld/test/MachO/entry-symbol.s
    M lld/test/MachO/export-options.s
    M lld/test/MachO/u.s

  Log Message:
  -----------
  [lld-macho] Treat undefined symbols uniformly

In particular, we should apply the `-undefined` behavior to all
such symbols, include those that are specified via the command line
(i.e.  `-e`, `-u`, and `-exported_symbol`). ld64 supports this too.

Reviewed By: #lld-macho, thakis

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


  Commit: b1c3c2e4fc219c23e311fe56d8687fdf6bba3c89
      https://github.com/llvm/llvm-project/commit/b1c3c2e4fc219c23e311fe56d8687fdf6bba3c89
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/Target.h
    M lld/test/MachO/order-file.s

  Log Message:
  -----------
  [lld-macho] Fix order file arch filtering

We had a hardcoded check and a stale TODO, written back when we only had
support for one architecture.

Reviewed By: #lld-macho, thakis

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


Compare: https://github.com/llvm/llvm-project/compare/6215f49b8f2f...b1c3c2e4fc21


More information about the All-commits mailing list