[all-commits] [llvm/llvm-project] 11c2a8: [NFC] Rename LLVM_NO_DEAD_STRIP

David Tenty via All-commits all-commits at lists.llvm.org
Fri Oct 25 06:37:42 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 11c2a85db8849db1a5907e80d9966592248ef825
      https://github.com/llvm/llvm-project/commit/11c2a85db8849db1a5907e80d9966592248ef825
  Author: David Tenty <daltenty at ibm.com>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M clang/tools/driver/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/tools/bugpoint/CMakeLists.txt
    M llvm/tools/llc/CMakeLists.txt
    M llvm/tools/opt/CMakeLists.txt

  Log Message:
  -----------
  [NFC] Rename LLVM_NO_DEAD_STRIP

Summary:
The variable LLVM_NO_DEAD_STRIP is set in LLVM cmake files when building executables that might make use of plugins .The name of the variable does not convey the actual intended usage (i.e. for use with tools that have plugins), just what the eventual effect of setting in on some (i.e. not garbage collecting unused symbols).

This patch renames it to LLVM_SUPPORT_PLUGINS to convey the intended usage, which will allow subsequent patches to add behavior to support that in different ways without confusion about whether it will do on, for example, non-gnu platforms.

Reviewers: hubert.reinterpretcast, stevewan

Reviewed By: stevewan

Subscribers: cfe-commits, mgorny, llvm-commits

Tags: #llvm, #clang

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




More information about the All-commits mailing list