[all-commits] [llvm/llvm-project] 016c2f: [lld-macho] Support -dyld_env

Vy Nguyen via All-commits all-commits at lists.llvm.org
Tue Sep 20 07:17:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 016c2f5e3233e67f48c2a511962101876ef0b94c
      https://github.com/llvm/llvm-project/commit/016c2f5e3233e67f48c2a511962101876ef0b94c
  Author: Vy Nguyen <vyng at google.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/MachO/Writer.cpp
    A lld/test/MachO/dyld-env.s
    M llvm/include/llvm/BinaryFormat/MachO.h

  Log Message:
  -----------
  [lld-macho] Support -dyld_env

This arg is undocumented but from looking at the code + experiment, it's used to add additional DYLD_ENVIRONMENT load commands to the output.

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




More information about the All-commits mailing list