[all-commits] [llvm/llvm-project] 9b29da: [lld-macho] Allow exporting weak_def_can_be_hidden...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Fri Nov 12 18:57:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b29dae3cae1860f663698fcb709a19cf0c398be
      https://github.com/llvm/llvm-project/commit/9b29dae3cae1860f663698fcb709a19cf0c398be
  Author: Vy Nguyen <vyng at google.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M lld/MachO/ConcatOutputSection.cpp
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/SymbolTable.h
    M lld/MachO/Symbols.cpp
    M lld/MachO/Symbols.h
    M lld/test/MachO/export-options.s

  Log Message:
  -----------
  [lld-macho] Allow exporting weak_def_can_be_hidden(AKA "autohide") symbols

autohide symbols behaves similarly to private_extern symbols.
However, LD64 allows exporting autohide symbols. LLD currently does not.
This patch allows LLD to export them.

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




More information about the All-commits mailing list