[all-commits] [llvm/llvm-project] 3884f0: [extract_symbols.py] Export unique symbols

tmatheson-arm via All-commits all-commits at lists.llvm.org
Fri Mar 24 09:38:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3884f07a55abfad6683e22bcfec3ea7647b3371a
      https://github.com/llvm/llvm-project/commit/3884f07a55abfad6683e22bcfec3ea7647b3371a
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M llvm/utils/extract_symbols.py

  Log Message:
  -----------
  [extract_symbols.py] Export unique symbols

As described in a comment on D140637, PluginInlineOrderTest.NoInlineFoo
will fail with:

InlineOrderPlugin.so: undefined symbol: _ZN4llvm13AllAnalysesOnINS_6ModuleEE6SetKeyE

The symbol is unique in libLLVMCore and ends up local in AnalysisTests.
Fix this by exporting all unique symbols found in libraries.

AnalysisTests.symbols change in line count: 12464 -> 12499

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




More information about the All-commits mailing list