[all-commits] [llvm/llvm-project] a9604c: [CMake] Fix DynamicLibraryTests exports symbol whe...

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Aug 13 09:56:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9604cd3212beb6cdb41a79f248723140ab9939d
      https://github.com/llvm/llvm-project/commit/a9604cd3212beb6cdb41a79f248723140ab9939d
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
    A llvm/unittests/Support/DynamicLibrary/DynamicLibraryTests.exports

  Log Message:
  -----------
  [CMake] Fix DynamicLibraryTests exports symbol when plugins are enabled (#102941)

Exporting symbols from tools directory never worked with
`LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=On`. When that options is on, only
symbols from the static library is linked is exported due to the export
symbols computation script. DynamicLibraryTests needs to export a symbol
from the tools/executable directory, so update it to use export list
instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list