[all-commits] [llvm/llvm-project] 25cf27: [cmake] Build executables with -no_exported_symbol...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Fri Apr 5 14:41:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25cf27910c3a58e71e37c3d5391235730aa7c488
      https://github.com/llvm/llvm-project/commit/25cf27910c3a58e71e37c3d5391235730aa7c488
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/cmake/caches/Apple-stage2.cmake
    M lldb/cmake/caches/Apple-lldb-base.cmake
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/docs/CMake.rst

  Log Message:
  -----------
  [cmake] Build executables with -no_exported_symbols when building Apple toolchain (#87684)

Building the Apple way turns off plugin support, meaning we don't need
to export unloadable symbols from all executables. While deadstripping
effects aren't expected to change, enabling this across all tools
prevents the creation of export tries. This saves us ~3.5 MB in just the
universal build of `clang`.



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