[all-commits] [llvm/llvm-project] 5be850: [lld-macho] Explicitly undefine literal exported s...

Greg McGary via All-commits all-commits at lists.llvm.org
Sat May 8 11:38:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5be8502271ac5644a7873fa801ecf537f8087d7f
      https://github.com/llvm/llvm-project/commit/5be8502271ac5644a7873fa801ecf537f8087d7f
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-05-08 (Sat, 08 May 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/export-options.s

  Log Message:
  -----------
  [lld-macho] Explicitly undefine literal exported symbols

Symbols explicitly exported via command-line options `--exported_symbol SYM` and `--exported_symbols_list FILE` must be defined. Before this fix, lazy symbols defined in archives would be left to languish. We now force them to be included in the linked output.

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




More information about the All-commits mailing list