[all-commits] [llvm/llvm-project] 1edb04: [extract_symbols.py] Adjust usage of nm again

john-brawn-arm via All-commits all-commits at lists.llvm.org
Mon Feb 13 08:32:07 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1edb04bc70f3db2d34295270474cad15c6c775f0
  Author: John Brawn <john.brawn at arm.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/utils/extract_symbols.py

  Log Message:
  [extract_symbols.py] Adjust usage of nm again

The previous change to extract_symbols.py means that building on macOS
with LLVM_EXPORT_SYMBOLS_FOR_PLUGINS fails as we try to export some
local symbols, as the regex used to match external symbols wasn't good
enough. Solve this by using the -g option to nm, so we only get
external symbols and don't have to check for local symbols at all.

More information about the All-commits mailing list