[all-commits] [llvm/llvm-project] bbe6f5: [lld/mac] Make framework symlinks in tests more re...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Jun 9 17:40:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbe6f51b726f9d4265df4407736772dd68ac6f98
      https://github.com/llvm/llvm-project/commit/bbe6f51b726f9d4265df4407736772dd68ac6f98
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M lld/test/MachO/framework.s
    M lld/test/MachO/implicit-dylibs.s

  Log Message:
  -----------
  [lld/mac] Make framework symlinks in tests more realistic

In a framework Foo.framework, Foo.framework/Foo is usually a relative
symbolic link to Foo.framework/Versions/Current/Foo,
and Foo.framework/Versions/Current is usually a relative symbolic
link to A.

Our tests used absolute symbolic links. Now they use relative symbolic links.

No behavior change, just makes the tests more representative of the real world.

(implicit-dylib.s omits the "Current" folder too, but I'm not changing that
here.)

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




More information about the All-commits mailing list