[all-commits] [llvm/llvm-project] 84a215: [lld-macho]Limit "cannot-export-hidden-symbol" war...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Thu Sep 7 10:52:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84a215592121fc8a80ea3aaab47a2914f50b55b4
      https://github.com/llvm/llvm-project/commit/84a215592121fc8a80ea3aaab47a2914f50b55b4
  Author: Vy Nguyen <vyng at google.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

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

  Log Message:
  -----------
  [lld-macho]Limit "cannot-export-hidden-symbol" warnings to only 3 to avoid crowding logs.

Details:
We often use wildcard symbols in the exported_symbols list, and sometimes they match autohide symbols, which triggers these "cannot export hidden symbols" warnings that can be a bit noisy.
It'd be more user-friendly if LLD could truncate these.

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




More information about the All-commits mailing list